| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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
>
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2012-03-16 13:19:36 | Re: ALTER ROLE foo SET log_connections = true; |
| Previous Message | Marc Mamin | 2012-03-16 11:54:14 | ALTER ROLE foo SET log_connections = true; |