Victor Yegorov <vyego...@gmail.com> writes:
> 2014-10-20 21:43 GMT+03:00 Adrian Klaver <adrian.kla...@aklaver.com>:
>> With \set AUTOCOMMIT off the COMMIT ended one transaction block and
>> started another.

> I don't think `COMMIT` starts a new transaction block here,
> as I can run `VACUUM` after it, and vacuum also cannot be run inside
> transaction block.

psql knows not to issue BEGIN before a VACUUM command.  It doesn't
know that about ALTER TYPE ... ADD VALUE.

                        regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to