Skip site navigation (1) Skip section navigation (2)

Re: ALTER ROLE foo SET log_connections = true;

From: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
To: Marc Mamin <M(dot)Mamin(at)intershop(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: ALTER ROLE foo SET log_connections = true;
Date: 2012-03-16 12:02:52
Message-ID: CA+h6AhiLP0Fjjg4v+gZh6mfA91=OSPfak9aO1Go034U0J+vyfg@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
Yep, it cannot be changed at session-level.

http://www.postgresql.org/docs/9.1/static/runtime-config-logging.html

---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com/



On Fri, Mar 16, 2012 at 5:24 PM, Marc Mamin <M(dot)Mamin(at)intershop(dot)de> wrote:

> **
>
> Hello,
>
> 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.
>
> I find it a bit surprising as this wouldn't  affect the current session.
>
> best regards,
>
> Marc Mamin
>
>
>

In response to

pgsql-admin by date

Next:From: Tom LaneDate: 2012-03-16 13:19:36
Subject: Re: ALTER ROLE foo SET log_connections = true;
Previous:From: Marc MaminDate: 2012-03-16 11:54:14
Subject: ALTER ROLE foo SET log_connections = true;

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group