Thread: pgsql: Set exit status for pgindent if pg_bsd_indent fails

pgsql: Set exit status for pgindent if pg_bsd_indent fails

From
Andrew Dunstan
Date:
Set exit status for pgindent if pg_bsd_indent fails

Also document the exit codes in the script.

The new exit code is 3, and is not overridden by the exit code set in
--check mode.

Author: Ashutosh Bapat

Discussion: https://postgr.es/m/CAExHW5sPRSiFeLdP-u1Fa5ba7YS2f0gvLjmKOobopKadJwQ_GQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b20fe54c9c2194fec65db73b2778a014e7823ae0

Modified Files
--------------
src/tools/pgindent/pgindent | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)