From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Exclude fmgrprotos.h from pgindent processing.
Date: Tue, 22 Sep 2020 15:32:16 +0000
Message-ID: <E1kKkHA-00088k-Q9@gemulon.postgresql.org> (raw)
Exclude fmgrprotos.h from pgindent processing.
pgindent messes up entries in this file if their names match
typedef names. While there's reason to avoid choosing conflicting
names, we have some historical exceptions, and there's no guarantee
that more duplicates won't appear in future. Since this is a derived
file anyway, there's little harm in just excluding it.
I said yesterday that all our derived files are pgindent-clean, or else
explicitly excluded from indentation, but I'd forgotten about this one.
Now that project is really done, as confirmed by a test run.
Discussion: https://postgr.es/m/79ed5348-be7a-b647-dd40-742207186a22@2ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c4133ec169dfe47803656325dbfb8397f85a70ea
Modified Files
--------------
src/tools/pgindent/README | 4 ++++
src/tools/pgindent/exclude_file_patterns | 6 ++++++
2 files changed, 10 insertions(+)
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Exclude fmgrprotos.h from pgindent processing.
In-Reply-To: <E1kKkHA-00088k-Q9@gemulon.postgresql.org>
References: <E1kKkHA-00088k-Q9@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