Revert "Fix psql's single transaction mode on client-side errors with -c/-f switches".

Tom Lane <tgl@sss.pgh.pa.us>

Commit: db713aa7fcbe2ad2a5dae7f76c309f70ec424ad7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-06-10T20:34:25Z
Releases: 10.22
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

PathChange+/−
doc/src/sgml/ref/psql-ref.sgml modified +2 −4
src/bin/psql/startup.c modified +1 −3

Documentation touched

Discussion