Thread: pgsql: Improve formatting of create_help.pl and plperl_opmask.pl output

pgsql: Improve formatting of create_help.pl and plperl_opmask.pl output

From
Tom Lane
Date:
Improve formatting of create_help.pl and plperl_opmask.pl output.

Adjust the whitespace in the emitted files so that it matches
what pgindent would do.  This makes the generated files look
like they match project style, and avoids confusion if someone
does run pgindent on the generated files.

Also, add probes.h to pgindent's exclusion list, because it can
confuse pgindent, plus there's not much point in processing it.

Daniel Gustafsson, additional fixes by me

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/add105840b673ab3949abc2568da0d4f2fd496c5

Modified Files
--------------
src/bin/psql/create_help.pl              | 25 +++++++++++++------------
src/pl/plperl/plperl_opmask.pl           |  2 +-
src/tools/pgindent/README                |  8 ++++++++
src/tools/pgindent/exclude_file_patterns |  1 +
4 files changed, 23 insertions(+), 13 deletions(-)