pgsql: Improve what pg_strsignal prints if we haven't gotstrsignal(3).

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve what pg_strsignal prints if we haven't gotstrsignal(3).
Дата
Msg-id E1i2ixa-0006Fj-DA@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: pgsql: Remove obsolete nbtree page deletion comment.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Doc: improve documentation of pg_signal_backend default role.