From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marc Mamin <M.Mamin@intershop.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: ALTER ROLE foo SET log_connections = true;
Date: Fri, 16 Mar 2012 09:19:36 -0400
Message-ID: <6788.1331903976@sss.pgh.pa.us> (raw)
In-Reply-To: <C4DAC901169B624F933534A26ED7DF310861B440@JENMAIL01.ad.intershop.net>
References: <C4DAC901169B624F933534A26ED7DF310861B440@JENMAIL01.ad.intershop.net>
"Marc Mamin" <M.Mamin@intershop.de> writes:
> if I try to SET log_connections = true
> (as super user, for another role)
> I get the error: parameter "log_connections" cannot be set after
> connection start.
Yeah ...
> I find it a bit surprising as this wouldn't affect the current session.
Nor would it affect any other session, so the error is to let you know
you're doing something useless/ineffective.
regards, tom lane
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: tgl@sss.pgh.pa.us, M.Mamin@intershop.de
Subject: Re: ALTER ROLE foo SET log_connections = true;
In-Reply-To: <6788.1331903976@sss.pgh.pa.us>
* 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