pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Improve what pg_strsignal prints if we haven't got strsignal(3). 2+ messages / 1 participants [nested] [flat]
* pgsql: Improve what pg_strsignal prints if we haven't got strsignal(3). @ 2019-08-27 21:25 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2019-08-27 21:25 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c9bd7f4f2b0fc3b8291914a45cbf2a5270877ee6 Modified Files -------------- src/port/pgstrsignal.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Improve what pg_strsignal prints if we haven't got strsignal(3). @ 2019-08-27 21:25 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2019-08-27 21:25 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7570df0f3b6d873cd060b3271b5f7b90cbcfb66c Modified Files -------------- src/port/pgstrsignal.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-08-27 21:25 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-08-27 21:25 pgsql: Improve what pg_strsignal prints if we haven't got strsignal(3). Tom Lane <tgl@sss.pgh.pa.us> 2019-08-27 21:25 pgsql: Improve what pg_strsignal prints if we haven't got strsignal(3). Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox