pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Allow multiple --excludes options in pgindent
Date: Fri, 27 Jan 2023 14:53:13 +0000
Message-ID: <E1pLQ6K-000Cgb-KS@gemulon.postgresql.org> (raw)

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



Message-ID: <E1pLQ6K-000Cgb-KS@gemulon.postgresql.org>
Permalink:  ../E1pLQ6K-000Cgb-KS@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pLQ6K-000Cgb-KS@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net
  Subject: Re: pgsql: Allow multiple --excludes options in pgindent
  In-Reply-To: <E1pLQ6K-000Cgb-KS@gemulon.postgresql.org>
  References: <E1pLQ6K-000Cgb-KS@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox