Improve formatting of create_help.pl and plperl_opmask.pl output.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 17 Sep 2020 00:31:19 +0000 (20:31 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 17 Sep 2020 00:31:37 +0000 (20:31 -0400)
commitadd105840b673ab3949abc2568da0d4f2fd496c5
treea8be1c2f22c793c695c3ef924c99d20e776681f7
parent07082b08cc5d3c378d22c105c65841ec0952e3ed
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
src/bin/psql/create_help.pl
src/pl/plperl/plperl_opmask.pl
src/tools/pgindent/README
src/tools/pgindent/exclude_file_patterns