From: | John Naylor <john(dot)naylor(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Improve warning message in pg_signal_backend() |
Date: | 2022-01-11 17:59:52 |
Message-ID: | E1n7LR2-00038U-B9@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-01-11 18:46:42 | pgsql: Clean up messy API for src/port/thread.c. |
Previous Message | Tom Lane | 2022-01-11 17:03:17 | pgsql: Clean up error message reported after \password encryption failu |