From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Exclude fmgrprotos.h from pgindent processing. |
Date: | 2020-09-22 15:32:16 |
Message-ID: | E1kKkHA-00088k-Q9@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-09-22 20:03:41 | pgsql: Remove arbitrary line length limit for libpq service files. |
Previous Message | Tom Lane | 2020-09-22 14:49:22 | pgsql: Improve the error message for an inappropriate column definition |