Make all Perl warnings fatal, catch-up
authorPeter Eisentraut <[email protected]>
Wed, 15 May 2024 07:44:05 +0000 (09:44 +0200)
committerPeter Eisentraut <[email protected]>
Wed, 15 May 2024 08:10:19 +0000 (10:10 +0200)
Apply c5385929593 to new Perl files that had missed the note.

src/bin/pg_walsummary/t/001_basic.pl
src/bin/pg_walsummary/t/002_blocks.pl
src/common/unicode/generate-unicode_case_table.pl
src/test/modules/test_json_parser/t/001_test_json_parser_incremental.pl
src/test/modules/test_json_parser/t/002_inline.pl
src/test/modules/test_json_parser/t/003_test_semantic.pl
src/test/modules/test_json_parser/t/004_test_parser_perf.pl
src/test/modules/test_misc/t/005_timeouts.pl
src/test/recovery/t/040_standby_failover_slots_sync.pl
src/test/recovery/t/041_checkpoint_at_promote.pl
src/test/recovery/t/042_low_level_backup.pl

index 0d606075c1994b3e5edc9271a687b5e9e1b2678e..4a1555091a6f055eaeab1c59652d4ca6178c3ddf 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright (c) 2021-2024, PostgreSQL Global Development Group
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 use PostgreSQL::Test::Utils;
 use Test::More;
 
index a3e3aebd320debcb8e2ce0c51e2d12831153dc36..0fddbaa22f418eacb11c5e14f7e6adc76c0f08a0 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright (c) 2021-2024, PostgreSQL Global Development Group
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 use File::Compare;
 use PostgreSQL::Test::Cluster;
 use PostgreSQL::Test::Utils;
index e09ccffd426f0eecf3911e6c28cf54808b443fdf..508b05af8e9e19bdb1da0d442a33facca9cf19e2 100644 (file)
@@ -9,7 +9,7 @@
 # Copyright (c) 2000-2024, PostgreSQL Global Development Group
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 use Getopt::Long;
 
 use FindBin;
index 30506be033946e8ea4cfd20979aa26e32b1c5d32..abf0d7a2375d19cae24cce0bc9225ee41234a608 100644 (file)
@@ -5,7 +5,7 @@
 
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
 use PostgreSQL::Test::Utils;
 use Test::More;
index 7c4134b3a6a5df8dce96f01d298690f0f53c5fab..8d62eb44c8cfac08362982a0fc09b6b88e3d079c 100644 (file)
@@ -5,7 +5,7 @@
 # for a variety of small inputs.
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
 use PostgreSQL::Test::Utils;
 use Test::More;
index 7d3e07e750cee074fb2074d8ffc08a19c80191b3..74e0fa5bb18cf3725eff2dcf0402e17473e83924 100644 (file)
@@ -5,7 +5,7 @@
 # output with the expected output.
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
 use PostgreSQL::Test::Utils;
 use Test::More;
index e82bb3695b82ffeaa5053d0819ad040e94843cec..81b8c8ae428495e0cae86b9c5a3a42fc9bd1db0f 100644 (file)
@@ -7,7 +7,7 @@
 # of iterations instead of just one.
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
 use PostgreSQL::Test::Utils;
 use Test::More;
index a792610231acf6b8194ad43acb3bd72fffd9a157..9e1ff9e5c1c66e807b1a49b1bbcae556596650a2 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright (c) 2024, PostgreSQL Global Development Group
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 use locale;
 
 use PostgreSQL::Test::Cluster;
index f0bf0ddc121f10936a3cd89e91d09c9d0786de5a..3b6dddba718cde35889611bf0b0fc5ef9099738d 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright (c) 2024, PostgreSQL Global Development Group
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 use PostgreSQL::Test::Cluster;
 use PostgreSQL::Test::Utils;
 use Test::More;
index 7c307314eae2e90669b7b6ddde8de7f4671fe7ac..5aa05b456ca22ebe41d96b17278c8e33710567cf 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright (c) 2024, PostgreSQL Global Development Group
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 use PostgreSQL::Test::Cluster;
 use PostgreSQL::Test::Utils;
 use Time::HiRes qw(usleep);
index 0a75a8624a93a2daedca93e598cfcbcd68047556..61d23187e0f90879197ec79942c4cab82bd2e290 100644 (file)
@@ -5,7 +5,7 @@
 # to create backups.
 
 use strict;
-use warnings;
+use warnings FATAL => 'all';
 
 use File::Copy qw(copy);
 use File::Path qw(rmtree);