Re: [v9.2] Add GUC sepgsql.client_label - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: [v9.2] Add GUC sepgsql.client_label
Date
Msg-id 4F2D31910200002500044DBF@gw.wicourts.gov
Whole thread Raw
In response to [v9.2] Add GUC sepgsql.client_label  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
List pgsql-hackers
Tom Lane  wrote:
> What I was concerned about was the case where GUC is trying to
> re-establish an old value during transaction rollback. For example,
> assume we are superuser to start with, and we do
> 
>     begin;
>     set role unprivileged_user;
>     ...
>     rollback;
> 
> The rollback needs to transition the role setting back to
> superuser.
Sorry for missing the point.  Yeah, I totally agree with that.
> And yeah, I agree it's a bug that you can do what Kevin's example
> shows.
I'll look at it and see if I can pull together a patch.
-Kevin


pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: Re: some longer, larger pgbench tests with various performance-related patches
Next
From: Florian Weimer
Date:
Subject: Re: initdb and fsync