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