pgsql: Allow multiple --excludes options in pgindent

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow multiple --excludes options in pgindent
Date: 2023-01-27 14:53:13
Message-ID: E1pLQ6K-000Cgb-KS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow multiple --excludes options in pgindent

This includes a unification of the logic used to find the excludes file
and the typedefs file.

Also, remove the dangerous and deprecated feature where the first
non-option argument was taken as a typdefs file if it wasn't a .c or .h
file, remove some extraneous blank lines, and improve the documentation
somewhat.

Branch
------
master

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

Modified Files
--------------
src/tools/pgindent/pgindent | 69 ++++++++++++++++++++---------------------
src/tools/pgindent/pgindent.man | 18 ++++++-----
2 files changed, 45 insertions(+), 42 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Justin Pryzby 2023-01-27 15:28:54 Re: pgsql: Adjust interaction of CREATEROLE with role properties.
Previous Message Andrew Dunstan 2023-01-27 13:27:40 Re: pgsql: Adjust interaction of CREATEROLE with role properties.