pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use perl warnings pragma consistently
Date: Mon, 13 Apr 2020 16:00:19 +0000
Message-ID: <E1jO1VT-0008Qk-TM@gemulon.postgresql.org> (raw )
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7be5d8df1f74b78620167d3abf32ee607e728919
Modified Files
--------------
contrib/intarray/bench/bench.pl | 1 +
contrib/intarray/bench/create_test.pl | 2 ++
contrib/seg/seg-validate.pl | 1 +
contrib/seg/sort-segments.pl | 1 +
doc/src/sgml/mk_feature_tables.pl | 3 ++-
src/backend/catalog/genbki.pl | 2 +-
src/backend/utils/Gen_fmgrtab.pl | 2 +-
src/backend/utils/mb/Unicode/UCS_to_BIG5.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_EUC_JIS_2004.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_EUC_KR.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_EUC_TW.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_GB18030.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_JOHAB.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_SHIFT_JIS_2004.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_SJIS.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_UHC.pl | 2 ++
src/backend/utils/mb/Unicode/UCS_to_most.pl | 2 ++
src/backend/utils/mb/Unicode/convutils.pm | 1 +
src/backend/utils/sort/gen_qsort_tuple.pl | 3 ++-
src/bin/psql/create_help.pl | 3 ++-
src/interfaces/libpq/test/regress.pl | 3 ++-
src/pl/plperl/plc_perlboot.pl | 1 +
src/pl/plperl/plperl_opmask.pl | 2 +-
src/test/locale/sort-test.pl | 1 +
src/test/perl/SimpleTee.pm | 1 +
src/tools/fix-old-flex-code.pl | 2 +-
src/tools/msvc/build.pl | 1 +
src/tools/msvc/pgbison.pl | 2 ++
src/tools/msvc/pgflex.pl | 2 ++
src/tools/msvc/vcregress.pl | 1 +
src/tools/perlcheck/perlcriticrc | 4 ++++
src/tools/pginclude/pgcheckdefines | 3 ++-
src/tools/version_stamp.pl | 3 ++-
35 files changed, 59 insertions(+), 10 deletions(-)
view thread (4+ messages) latest in thread
Message-ID: <E1jO1VT-0008Qk-TM@gemulon.postgresql.org>
Permalink: ../E1jO1VT-0008Qk-TM@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1jO1VT-0008Qk-TM@gemulon.postgresql.org
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: andrew@dunslane.net, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Use perl warnings pragma consistently
In-Reply-To: <E1jO1VT-0008Qk-TM@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox