pgsql: Set exit status for pgindent if pg_bsd_indent fails

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Set exit status for pgindent if pg_bsd_indent fails
Date: 2025-01-08 16:02:54
Message-ID: E1tVYWE-000WXR-As@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2025-01-08 21:17:55 pgsql: Back-patch b1ffe3ff into REL_13_STABLE.
Previous Message Peter Eisentraut 2025-01-08 08:29:35 pgsql: plpgsql: pure parser and reentrant scanner