Add DISCARD to the command_no_begin list for AUTOCOMMIT=off. Backpatch to 8.3.
Reported by Sergey Burladyan. Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d08c698d9d47f9d004fd0bb6212ca80259e2fe9c Modified Files -------------- src/bin/psql/common.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers