Re: pgindent vs dtrace on macos
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-09-17T00:34:55Z
Lists: pgsql-hackers
I wrote: > Daniel Gustafsson <daniel@yesql.se> writes: >> The attached patch fixes the generation of sql_help.h and perl_opmask.h to make >> sure they conform to pgindent. Those were the only file I got diffs in after a >> pgindent run apart from fmgrprotos.h which gave the below: > Hmm, I seem to recall there were more when this happened to me back in > May. But in any case, fixing these is an improvement. Experimenting with this patch soon found one additional case: sql_help.c, also emitted by create_help.pl, also needs some whitespace help. I do not recall if there are other places, but fixing these is surely a step forward. I fixed the sql_help.c output and pushed it. regards, tom lane
Commits
-
Exclude fmgrprotos.h from pgindent processing.
- c4133ec169df 14.0 landed
-
Fix a few more generator scripts to produce pgindent-clean output.
- f859c2ffa01d 14.0 landed
-
Further improve pgindent's list of file exclusions.
- 74d4608f506b 14.0 landed
-
Improve formatting of create_help.pl and plperl_opmask.pl output.
- add105840b67 14.0 landed