Set exit status for pgindent if pg_bsd_indent fails
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 8 Jan 2025 15:56:12 +0000 (10:56 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 8 Jan 2025 15:56:12 +0000 (10:56 -0500)
commitb20fe54c9c2194fec65db73b2778a014e7823ae0
tree58bd7562b8283f3f8bd71fe4241e9f777be399a3
parent7b27f5fd36cb3270e8ac25aefd73b552663d1392
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
src/tools/pgindent/pgindent