Re: Per-function GUC settings: trickier than it looked

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Per-function GUC settings: trickier than it looked
Дата
Msg-id 28620.1188964364@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Per-function GUC settings: trickier than it looked  ("Brendan Jurd" <direvus@gmail.com>)
Ответы Re: Per-function GUC settings: trickier than it looked  ("Brendan Jurd" <direvus@gmail.com>)
Список pgsql-hackers
"Brendan Jurd" <direvus@gmail.com> writes:
> So, if I read you correctly, in summary we'd like to:

>  * make SET LOCAL local to the transaction (i.e., make it behave as documented),
>  * abandon the idea of a subtransaction-local SET, because the new
> function-local SET takes care of the interesting use-cases for that,
>  * somehow deal with the incompatibility with the 8.2 "security
> definer" workaround.

> Tom's proposal to handle the latter was that when a function-local SET
> reverts, it overrides any inner SET LOCALs.

> Am I on the right page?

Got it in one, I believe.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: HEAD build troubles, buildfarm misconfigurations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: HEAD build troubles, buildfarm misconfigurations