aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/network_spgist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-07-15 22:05:12 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-07-15 22:05:12 -0400
commitc6d43ffab3c0b25f1d745a3c920ec515e7c9d935 (patch)
treecd2f3f1a6376931170edaf5c14836de1327c9ebd /src/backend/utils/adt/network_spgist.c
parentc6d33d14408664ccd1ebcd2f4e7dddd54cfe698e (diff)
downloadpostgresql-c6d43ffab3c0b25f1d745a3c920ec515e7c9d935.tar.gz
postgresql-c6d43ffab3c0b25f1d745a3c920ec515e7c9d935.zip
Replace use of sys_siglist[] with strsignal().
This commit back-patches the v12-era commits a73d08319, cc92cca43, and 7570df0f3 into supported pre-v12 branches. The net effect is to eliminate our former dependency on the never-standard sys_siglist[] array, instead using POSIX-standard strsignal(3). What motivates doing this now is that glibc just removed sys_siglist[] from the set of symbols available to newly-built programs. While our code can survive without sys_siglist[], it then fails to print any description of the signal that killed a child process, which is a non-negligible loss of friendliness. We can expect that people will be wanting to build the back branches on platforms that include this change, so we need to do something. Since strsignal(3) has existed for quite a long time, and we've not had any trouble with these patches so far in v12, it seems safe to back-patch into older branches. Discussion: https://postgr.es/m/3179114.1594853308@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/adt/network_spgist.c')
0 files changed, 0 insertions, 0 deletions