| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера