Exclude fmgrprotos.h from pgindent processing.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 22 Sep 2020 15:32:10 +0000 (11:32 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 22 Sep 2020 15:32:10 +0000 (11:32 -0400)
commitc4133ec169dfe47803656325dbfb8397f85a70ea
tree8c24b65d1051bb5379e2f17a357587a3d3cd4042
parentce90f075f0d831ca4085ba73891b7da2a2f7047e
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
src/tools/pgindent/README
src/tools/pgindent/exclude_file_patterns