From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve what pg_strsignal prints if we haven't got strsignal(3).
Date: Tue, 27 Aug 2019 21:25:02 +0000
Message-ID: <E1i2ixa-0006Fk-DJ@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Improve what pg_strsignal prints if we haven't got strsignal(3).
In-Reply-To: <E1i2ixa-0006Fk-DJ@gemulon.postgresql.org>
References: <E1i2ixa-0006Fk-DJ@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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