Add DISCARD to the command_no_begin list for AUTOCOMMIT=off. Backpatch to 8.3.
Reported by Sergey Burladyan. Branch ------ REL9_0_STABLE Details ------- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=60da196636239a9906a22de1bc1d95133ea9904a 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