]> granicus.if.org Git - postgresql/commit
Improve what pg_strsignal prints if we haven't got strsignal(3).
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Aug 2019 21:24:13 +0000 (17:24 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Aug 2019 21:24:30 +0000 (17:24 -0400)
commit7570df0f3b6d873cd060b3271b5f7b90cbcfb66c
tree619189b723d89be72337e472eeeac1d5db8d2a4c
parentc0222c2c9b8145a0ccbee7d801db848e871f2e14
Improve what pg_strsignal prints if we haven't got strsignal(3).

Turns out that returning "unrecognized signal" is confusing.
Make it explicit that the platform lacks any support for signal names.
(At least of the machines in the buildfarm, only HPUX lacks it.)

Back-patch to v12 where we invented this function.

Discussion: https://postgr.es/m/3067.1566870481@sss.pgh.pa.us
src/port/pgstrsignal.c