Itagaki Takahiro <itagaki.takah...@gmail.com> writes: > Add DISCARD to the command_no_begin list for AUTOCOMMIT=off.
This patch appears incorrect to me. Only the DISCARD ALL variant is prohibited inside BEGIN, so why is it making all variants of DISCARD autocommittable? The DROP coding immediately above is a model for how to deal with two-word commands. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers