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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to