git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8930e43) | patch
Use perl warnings pragma consistently
2020年4月13日 15:55:45 +0000 (11:55 -0400)
2020年4月13日 15:55:45 +0000 (11:55 -0400)
commit 7be5d8df1f74b78620167d3abf32ee607e728919
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
35 files changed:
contrib/intarray/bench/bench.pl diff | blob | blame | history
contrib/intarray/bench/create_test.pl diff | blob | blame | history
contrib/seg/seg-validate.pl diff | blob | blame | history
contrib/seg/sort-segments.pl diff | blob | blame | history
doc/src/sgml/mk_feature_tables.pl diff | blob | blame | history
src/backend/catalog/genbki.pl diff | blob | blame | history
src/backend/utils/Gen_fmgrtab.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_BIG5.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_EUC_JIS_2004.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_EUC_KR.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_EUC_TW.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_GB18030.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_JOHAB.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_SHIFT_JIS_2004.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_SJIS.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_UHC.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/UCS_to_most.pl diff | blob | blame | history
src/backend/utils/mb/Unicode/convutils.pm diff | blob | blame | history
src/backend/utils/sort/gen_qsort_tuple.pl diff | blob | blame | history
src/bin/psql/create_help.pl diff | blob | blame | history
src/interfaces/libpq/test/regress.pl diff | blob | blame | history
src/pl/plperl/plc_perlboot.pl diff | blob | blame | history
src/pl/plperl/plperl_opmask.pl diff | blob | blame | history
src/test/locale/sort-test.pl diff | blob | blame | history
src/test/perl/SimpleTee.pm diff | blob | blame | history
src/tools/fix-old-flex-code.pl diff | blob | blame | history
src/tools/msvc/build.pl diff | blob | blame | history
src/tools/msvc/pgbison.pl diff | blob | blame | history
src/tools/msvc/pgflex.pl diff | blob | blame | history
src/tools/msvc/vcregress.pl diff | blob | blame | history
src/tools/perlcheck/perlcriticrc diff | blob | blame | history
src/tools/pginclude/pgcheckdefines diff | blob | blame | history
src/tools/version_stamp.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /