Re: [v9.2] Add GUC sepgsql.client_label

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: [v9.2] Add GUC sepgsql.client_label
Дата
Msg-id 4F2D31910200002500044DBF@gw.wicourts.gov
обсуждение исходный текст
Ответ на [v9.2] Add GUC sepgsql.client_label  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Список 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 по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: some longer, larger pgbench tests with various performance-related patches
Следующее
От: Florian Weimer
Дата:
Сообщение: Re: initdb and fsync