Tom Lane escribió: > An > alternative was to not have BEGIN/END but instead a GUC variable that > you can SET to the name of the extension currently being added to. > (The main advantage of that is that the state isn't hidden, but easily > checkable via existing commands.)
With the CREATE EXTENSION you could still have a read-only GUC var "current_extension" or so. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers