Clean up some perlcritic warnings
Andrew Dunstan <andrew@dunslane.net>
Clean up some perlcritic warnings In Catalog.pm, mark eval of a string instead of a block as allowed. Disallow perlcritic completely in Gen_dummy_probes.pl, as it's generated code. Protect a couple of lines in plperl code from perltidy, so that the annotation for perlcritic stays on the same line as the construct it would otherwise object to.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/Catalog.pm | modified | +4 −1 |
| src/backend/utils/Gen_dummy_probes.pl | modified | +3 −0 |
| src/pl/plperl/plc_perlboot.pl | modified | +3 −3 |
| src/pl/plperl/plc_trusted.pl | modified | +3 −2 |