| От | Tom Lane |
|---|---|
| Тема | Re: Extensions, this time with a patch |
| Дата | |
| Msg-id | 26647.1287586486@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Extensions, this time with a patch (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: Extensions, this time with a patch
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Dimitri Fontaine's message of mié oct 20 07:22:53 -0300 2010:
>> Using SPI to execute the extension's script already means that it can
>> not contain explicit BEGIN and COMMIT commands. Now, is it possible to
>> force a Reset of all GUCs after script's execution?
> Would it work to force a new transaction internally in CREATE EXTENSION,
No, but maybe a savepoint?
> and use the equivalent of SET LOCAL in the CREATE EXTENSION code?
I had assumed that that was how he was doing it ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера