mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Clean up Perl code according to perlcritic
Fix all perlcritic warnings of severity level 5, except in src/backend/utils/Gen_dummy_probes.pl, which is automatically generated. Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
This commit is contained in:
@ -10,7 +10,7 @@ print
|
||||
"/* autogenerated from src/backend/utils/errcodes.txt, do not edit */\n";
|
||||
print "/* there is deliberately not an #ifndef SPIEXCEPTIONS_H here */\n";
|
||||
|
||||
open my $errcodes, $ARGV[0] or die;
|
||||
open my $errcodes, '<', $ARGV[0] or die;
|
||||
|
||||
while (<$errcodes>)
|
||||
{
|
||||
|
Reference in New Issue
Block a user