summaryrefslogtreecommitdiff
path: root/src/backend/catalog/genbki.pl
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2020-04-13 11:55:45 -0400
committerAndrew Dunstan <andrew@dunslane.net>2020-04-13 11:55:45 -0400
commit7be5d8df1f74b78620167d3abf32ee607e728919 (patch)
tree030ea8b9fe1360b7670277c0af44e028de652497 /src/backend/catalog/genbki.pl
parent8930e43ecd3f683c457865131d7a932401a2188f (diff)
downloadpostgresql-7be5d8df1f74b78620167d3abf32ee607e728919.tar.gz
Use perl warnings pragma consistently
We've had a mixture of the warnings pragma, the -w switch on the shebang line, and no warnings at all. This patch removes the -w swicth and add the warnings pragma to all perl sources missing it. It raises the severity of the TestingAndDebugging::RequireUseWarnings perlcritic policy to level 5, so that we catch any future violations. Discussion: https://postgr.es/m/20200412074245.GB623763@rfd.leadboat.com
Diffstat (limited to 'src/backend/catalog/genbki.pl')
-rw-r--r--src/backend/catalog/genbki.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/catalog/genbki.pl b/src/backend/catalog/genbki.pl
index ad24f4dcb9..da34124595 100644
--- a/src/backend/catalog/genbki.pl
+++ b/src/backend/catalog/genbki.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
#----------------------------------------------------------------------
#
# genbki.pl