pgsql: Improve warning message in pg_signal_backend()

Поиск
Список
Период
Сортировка
От John Naylor
Тема pgsql: Improve warning message in pg_signal_backend()
Дата
Msg-id E1n7LR2-00038U-B9@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve warning message in pg_signal_backend()

Previously, invoking pg_terminate_backend() or pg_cancel_backend()
with the postmaster PID produced a "PID XXXX is not a PostgresSQL
server process" warning, which does not make sense. Change to
"backend process" to make the message more exact.

Nathan Bossart, based on an idea from Bharath Rupireddy with
input from Tom Lane and Euler Taveira

Discussion:
https://www.postgresql.org/message-id/flat/CALj2ACW7Rr-R7mBcBQiXWPp=JV5chajjTdudLiF5YcpW-BmHhg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7fa945b857cc1b2964799411f1633468826861ff

Modified Files
--------------
src/backend/storage/ipc/signalfuncs.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Clean up error message reported after \password encryption failu
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Clean up messy API for src/port/thread.c.