Skip site navigation (1) Skip section navigation (2)

pgsql: Return proper exit code (3) from psql when ON_ERROR_STOP=on and

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Return proper exit code (3) from psql when ON_ERROR_STOP=on and
Date: 2010-03-09 01:09:54
Message-ID: 20100309010954.B5D467541D0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Return proper exit code (3) from psql when ON_ERROR_STOP=on and
--single-transaction are both used and the failure happens in commit,
e.g. failed deferred trigger.  Also properly free BEGIN/COMMIT result
structures from --single-transaction.

Per report from Dominic Bevacqua

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/bin/psql:
        command.c (r1.174 -> r1.174.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/command.c?r1=1.174&r2=1.174.2.1)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2010-03-09 01:10:05
Subject: pgsql: Return proper exit code (3) from psql when ON_ERROR_STOP=on and
Previous:From: Bruce MomjianDate: 2010-03-08 23:03:00
Subject: pgsql: Return proper exit code (3) from psql when ON_ERROR_STOP=on and

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group