Set exit status for pgindent if pg_bsd_indent fails

Andrew Dunstan <andrew@dunslane.net>

Commit: b20fe54c9c2194fec65db73b2778a014e7823ae0
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2025-01-08T15:56:12Z
Releases: 18.0
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

Files

PathChange+/−
src/tools/pgindent/pgindent modified +9 −1

Discussion