Alvaro Herrera <alvhe...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers