Return proper exit code (3) from psql when ON_ERROR_STOP=on and
Bruce Momjian <bruce@momjian.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/command.c | modified | +21 −3 |