Re: How to log pg_terminate_backend() calls

2020-01-14 Thread Tom Lane
"Zwettler Markus (OIZ)" writes: > We see some "FATAL: terminating connection due to administrator command" > error messages in the Postgres logfile. > We assume someone did pg_terminate_backend() calls. > How can we log such calls, especially who did the call? There's no built-in facility for t

How to log pg_terminate_backend() calls

2020-01-14 Thread Zwettler Markus (OIZ)
We see some "FATAL: terminating connection due to administrator command" error messages in the Postgres logfile. We assume someone did pg_terminate_backend() calls. How can we log such calls, especially who did the call?