Re: Should we improve "PID XXXX is not a PostgreSQL server process" warning for pg_terminate_backend(<<postmaster_pid>>)?

Nathan Bossart <bossartn@amazon.com>

From: "Bossart, Nathan" <bossartn@amazon.com>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, Euler Taveira <euler@eulerto.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-12-07T22:47:18Z
Lists: pgsql-hackers

Attachments

On 11/18/21, 8:27 PM, "Bharath Rupireddy" <bharath.rupireddyforpostgres@gmail.com> wrote:
> Here's the v4 patch with the above changes, the output looks like [1].
> Please review it further.

I agree with Tom.  I would just s/server/backend/ (as per the
attached) and call it a day.

Nathan

Commits

  1. Improve warning message in pg_signal_backend()