From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@postgresql.org
Subject: SET SESSION AUTHORIZATION and log file entries
Date: Wed, 29 Dec 2010 17:06:41 +0300
Message-ID: <201012291606.41505.achill@matrix.gatewaynet.com> (raw)
Hello,
i noticed that the user name as displayed in the postgresql log (specified by %u) in the log_line_prefix
does not show the user name of the effective user (current_user)as set by "SET SESSION AUTHORIZATION"
but, instead, shows the initial user which first authenticated against the said connection.
I think it would be better to have this user reported in the log files. (or have another entry e.g. %U to denote that)
--
Achilleas Mantzios
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: achill@matrix.gatewaynet.com
Subject: Re: SET SESSION AUTHORIZATION and log file entries
In-Reply-To: <201012291606.41505.achill@matrix.gatewaynet.com>
* 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