Further improve pgindent's list of file exclusions.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 74d4608f506ba423e4c84609c1c0e03e1e92cb91
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-09-17T18:16:18Z
Releases: 14.0
Further improve pgindent's list of file exclusions.

I despair of people keeping the README file's notes in sync with
the actual exclusion list, so move the notes into the exclusion file.
Adjust the pgindent script to explicitly ignore comments in the file,
just in case (though it's hard to believe any would match filenames).

Extend the list so that it doesn't process any files we'd not wish it to
even in a fully-built-out development directory.  (There are still a
couple of derived files that it wants to reformat, but fixing the
generator scripts for those seems like fit material for a separate patch.)

Discussion: https://postgr.es/m/79ed5348-be7a-b647-dd40-742207186a22@2ndquadrant.com

Files

PathChange+/−
src/tools/pgindent/exclude_file_patterns modified +34 −8
src/tools/pgindent/pgindent modified +1 −0
src/tools/pgindent/README modified +4 −26

Discussion