diff options
| author | Tom Lane | 2020-09-17 00:31:19 +0000 |
|---|---|---|
| committer | Tom Lane | 2020-09-17 00:31:37 +0000 |
| commit | add105840b673ab3949abc2568da0d4f2fd496c5 (patch) | |
| tree | a8be1c2f22c793c695c3ef924c99d20e776681f7 /src/pl | |
| parent | 07082b08cc5d3c378d22c105c65841ec0952e3ed (diff) | |
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
Diffstat (limited to 'src/pl')
| -rw-r--r-- | src/pl/plperl/plperl_opmask.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plperl/plperl_opmask.pl b/src/pl/plperl/plperl_opmask.pl index 3b33112ff94..ee18e915289 100644 --- a/src/pl/plperl/plperl_opmask.pl +++ b/src/pl/plperl/plperl_opmask.pl @@ -52,7 +52,7 @@ foreach my $opname (opset_to_ops(opset(@allowed_ops))) printf $fh qq{ opmask[OP_%-12s] = 0;\t/* %s */ \\\n}, uc($opname), opdesc($opname); } -printf $fh " /* end */ \n"; +printf $fh " /* end */\n"; close $fh or die "Error closing $plperl_opmask_tmp: $!"; |
