pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: How to log pg_terminate_backend() calls
Date: Tue, 14 Jan 2020 12:01:58 +0000
Message-ID: <7065c63d01944768bcfae1182301217d@zuerich.ch> (raw)

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?




view thread (2+ messages)  latest in thread

Message-ID: <7065c63d01944768bcfae1182301217d@zuerich.ch>
Permalink:  ../7065c63d01944768bcfae1182301217d@zuerich.ch/
Also on:    postgresql.org/message-id/7065c63d01944768bcfae1182301217d@zuerich.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: Markus.Zwettler@zuerich.ch
  Subject: Re: How to log pg_terminate_backend() calls
  In-Reply-To: <7065c63d01944768bcfae1182301217d@zuerich.ch>
  References: <7065c63d01944768bcfae1182301217d@zuerich.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox