Revert "Fix psql's single transaction mode on client-side errors with -c/-f switches".
Tom Lane <tgl@sss.pgh.pa.us>
Revert "Fix psql's single transaction mode on client-side errors with -c/-f switches". This reverts commits a04ccf6df et al. in the back branches only. There was some disagreement already over whether to back-patch 157f8739a, on the grounds that it is the sort of behavioral change that we don't like to back-patch. Furthermore, it now looks like the logic needs some more work, which we don't have time for before the upcoming 14.4 release. Revert for now, and perhaps reconsider later. Discussion: https://postgr.es/m/17504-76b68018e130415e@postgresql.org
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/psql-ref.sgml | modified | +2 −4 |
| src/bin/psql/startup.c | modified | +1 −3 |
Documentation touched
Discussion
- BUG #17504: psql --single-transaction -vON_ERROR_STOP=1 still commits after client-side error 23 messages · 2022-05-30 → 2022-07-05