diff --git a/META.yml b/META.yml index 079f89c..e66e9b2 100644 --- a/META.yml +++ b/META.yml @@ -10,7 +10,7 @@ distribution_type : script dynamic_config : 0 requires: - perl : 5.008 + perl : 5.10.0 build_requires: Test::More : 0.61 recommends: diff --git a/Makefile.PL b/Makefile.PL index 63ca101..729cc1a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,7 +4,7 @@ use ExtUtils::MakeMaker qw/WriteMakefile/; use Config; use strict; use warnings; -use 5.008; +use 5.10.0; my $VERSION = '2.26.0'; diff --git a/check_postgres.pl b/check_postgres.pl index d872f5c..36de3fa 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -16,7 +16,7 @@ package check_postgres; -use 5.008; +use 5.10.0; use strict; use warnings; use utf8; @@ -11377,6 +11377,8 @@ =head1 HISTORY =item B not yet released + Raise minimum version or Perl to 5.10.0 + Allow commas in passwords via --dbpass for one-connection queries (Greg Sabino Mullane) [Github issue #133] Fix undefined variable error (Greg Sabino Mullane) [Github issue #141] diff --git a/set_translations.pl b/set_translations.pl index 2c99211..02a810b 100755 --- a/set_translations.pl +++ b/set_translations.pl @@ -7,7 +7,7 @@ ## Greg Sabino Mullane ## BSD licensed -use 5.008; +use 5.10.0; use strict; use warnings; use utf8; diff --git a/t/00_basic.t b/t/00_basic.t index 7b13c56..fc0597e 100644 --- a/t/00_basic.t +++ b/t/00_basic.t @@ -2,7 +2,7 @@ ## Simply test that the script compiles and gives a valid version -use 5.008; +use 5.10.0; use strict; use warnings; use Test::More tests => 2; diff --git a/t/00_release.t b/t/00_release.t index 7ea58fe..ca785c2 100644 --- a/t/00_release.t +++ b/t/00_release.t @@ -4,7 +4,7 @@ ## 1. Make sure the version number is consistent in all places ## 2. Make sure we have a valid tag for this release -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/00_signature.t b/t/00_signature.t index c6687fa..288ae9b 100644 --- a/t/00_signature.t +++ b/t/00_signature.t @@ -2,7 +2,7 @@ ## Test that our PGP signature file is valid -use 5.008; +use 5.10.0; use strict; use warnings; use Test::More; diff --git a/t/00_test_tester.t b/t/00_test_tester.t index 6006253..47f3816 100644 --- a/t/00_test_tester.t +++ b/t/00_test_tester.t @@ -2,7 +2,7 @@ ## Make sure we have tests for all actions -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/01_validate_range.t b/t/01_validate_range.t index 7ef57bd..69c52f6 100644 --- a/t/01_validate_range.t +++ b/t/01_validate_range.t @@ -2,7 +2,7 @@ ## Test the "validate_range" function -use 5.008; +use 5.10.0; use strict; use warnings; use Test::More tests => 144; diff --git a/t/02_autovac_freeze.t b/t/02_autovac_freeze.t index 0c08a22..e206432 100644 --- a/t/02_autovac_freeze.t +++ b/t/02_autovac_freeze.t @@ -2,7 +2,7 @@ ## Test the "autovac_freeze" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_backends.t b/t/02_backends.t index dc8072d..e11e20a 100644 --- a/t/02_backends.t +++ b/t/02_backends.t @@ -2,7 +2,7 @@ ## Test the "backends" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_bloat.t b/t/02_bloat.t index 8fb3b40..d0e1960 100644 --- a/t/02_bloat.t +++ b/t/02_bloat.t @@ -2,7 +2,7 @@ ## Test the "bloat" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_checkpoint.t b/t/02_checkpoint.t index 899ccd7..4420eb5 100644 --- a/t/02_checkpoint.t +++ b/t/02_checkpoint.t @@ -2,7 +2,7 @@ ## Test the "checkpoint" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_cluster_id.t b/t/02_cluster_id.t index 551c493..c9a5b91 100644 --- a/t/02_cluster_id.t +++ b/t/02_cluster_id.t @@ -2,7 +2,7 @@ ## Test the "checkpoint" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_commitratio.t b/t/02_commitratio.t index 78ce26e..4ccdc69 100644 --- a/t/02_commitratio.t +++ b/t/02_commitratio.t @@ -2,7 +2,7 @@ ## Test the "commitratio" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_connection.t b/t/02_connection.t index 5beb74e..6810839 100644 --- a/t/02_connection.t +++ b/t/02_connection.t @@ -2,7 +2,7 @@ ## Test the "connection" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_custom_query.t b/t/02_custom_query.t index f14b658..d4a8f00 100644 --- a/t/02_custom_query.t +++ b/t/02_custom_query.t @@ -2,7 +2,7 @@ ## Test the "custom_query" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_database_size.t b/t/02_database_size.t index 75c36e1..a4e1117 100644 --- a/t/02_database_size.t +++ b/t/02_database_size.t @@ -2,7 +2,7 @@ ## Test the "database_size" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_dbstats.t b/t/02_dbstats.t index dad37cc..4dfa48f 100644 --- a/t/02_dbstats.t +++ b/t/02_dbstats.t @@ -2,7 +2,7 @@ ## Test the "dbstats" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_disabled_triggers.t b/t/02_disabled_triggers.t index 3a6002a..f005b60 100644 --- a/t/02_disabled_triggers.t +++ b/t/02_disabled_triggers.t @@ -2,7 +2,7 @@ ## Test the "disabled_triggers" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_disk_space.t b/t/02_disk_space.t index 4ab7e43..c92cc12 100644 --- a/t/02_disk_space.t +++ b/t/02_disk_space.t @@ -2,7 +2,7 @@ ## Test the "disk_space" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_fsm_pages.t b/t/02_fsm_pages.t index b52608b..6861971 100644 --- a/t/02_fsm_pages.t +++ b/t/02_fsm_pages.t @@ -2,7 +2,7 @@ ## Test the "fsm_pages" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_fsm_relations.t b/t/02_fsm_relations.t index a762a8e..0ed32f4 100644 --- a/t/02_fsm_relations.t +++ b/t/02_fsm_relations.t @@ -2,7 +2,7 @@ ## Test the "fsm_relations" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_hitratio.t b/t/02_hitratio.t index e9f3ba4..1022db9 100644 --- a/t/02_hitratio.t +++ b/t/02_hitratio.t @@ -2,7 +2,7 @@ ## Test the "hitratio" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_last_analyze.t b/t/02_last_analyze.t index 304eebe..899d0fa 100644 --- a/t/02_last_analyze.t +++ b/t/02_last_analyze.t @@ -2,7 +2,7 @@ ## Test the "last_analyze" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_last_vacuum.t b/t/02_last_vacuum.t index 7cc1c06..87a6245 100644 --- a/t/02_last_vacuum.t +++ b/t/02_last_vacuum.t @@ -2,7 +2,7 @@ ## Test the "last_vacuum" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_listener.t b/t/02_listener.t index 78a80bc..6671dc4 100644 --- a/t/02_listener.t +++ b/t/02_listener.t @@ -2,7 +2,7 @@ ## Test the "listener" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_locks.t b/t/02_locks.t index ef50e1b..d03ddb7 100644 --- a/t/02_locks.t +++ b/t/02_locks.t @@ -2,7 +2,7 @@ ## Test the "locks" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_logfile.t b/t/02_logfile.t index 6456c06..0bfb381 100644 --- a/t/02_logfile.t +++ b/t/02_logfile.t @@ -3,7 +3,7 @@ ## Test the "logfile" action ## this does not test $S for syslog or stderr output -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_new_version_bc.t b/t/02_new_version_bc.t index f7edc7c..0618bf9 100644 --- a/t/02_new_version_bc.t +++ b/t/02_new_version_bc.t @@ -2,7 +2,7 @@ ## Test the "new_version_bc" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_new_version_box.t b/t/02_new_version_box.t index 4531095..c4bd42b 100644 --- a/t/02_new_version_box.t +++ b/t/02_new_version_box.t @@ -2,7 +2,7 @@ ## Test the "new_version_box" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_new_version_cp.t b/t/02_new_version_cp.t index b32cedd..3da86f7 100644 --- a/t/02_new_version_cp.t +++ b/t/02_new_version_cp.t @@ -2,7 +2,7 @@ ## Test the "new_version_cp" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_new_version_pg.t b/t/02_new_version_pg.t index 3b5bdba..1220237 100644 --- a/t/02_new_version_pg.t +++ b/t/02_new_version_pg.t @@ -2,7 +2,7 @@ ## Test the "new_version_pg" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_new_version_tnm.t b/t/02_new_version_tnm.t index 622db5f..06c173f 100644 --- a/t/02_new_version_tnm.t +++ b/t/02_new_version_tnm.t @@ -2,7 +2,7 @@ ## Test the "new_version_tnm" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_pgagent_jobs.t b/t/02_pgagent_jobs.t index b56d1d9..bb13c44 100644 --- a/t/02_pgagent_jobs.t +++ b/t/02_pgagent_jobs.t @@ -2,7 +2,7 @@ ## Test the "pgagent_jobs" action -use 5.008; +use 5.10.0; use strict; use warnings; use Test::More tests => 48; diff --git a/t/02_pgbouncer_checksum.t b/t/02_pgbouncer_checksum.t index 1fae6dd..4a8ae81 100644 --- a/t/02_pgbouncer_checksum.t +++ b/t/02_pgbouncer_checksum.t @@ -2,7 +2,7 @@ ## Test the "pgbouncer_checksum" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_prepared_txns.t b/t/02_prepared_txns.t index 68c6980..e16493d 100644 --- a/t/02_prepared_txns.t +++ b/t/02_prepared_txns.t @@ -2,7 +2,7 @@ ## Test the "prepare_txns" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_query_runtime.t b/t/02_query_runtime.t index 2220466..6d02ab3 100644 --- a/t/02_query_runtime.t +++ b/t/02_query_runtime.t @@ -2,7 +2,7 @@ ## Test the "query_runtime" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_query_time.t b/t/02_query_time.t index cff23c7..282a40f 100644 --- a/t/02_query_time.t +++ b/t/02_query_time.t @@ -2,7 +2,7 @@ ## Test the "query_time" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_relation_size.t b/t/02_relation_size.t index e97a160..8c72574 100644 --- a/t/02_relation_size.t +++ b/t/02_relation_size.t @@ -2,7 +2,7 @@ ## Test the "relation_size" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_replicate_row.t b/t/02_replicate_row.t index 1f203cc..02a652f 100644 --- a/t/02_replicate_row.t +++ b/t/02_replicate_row.t @@ -2,7 +2,7 @@ ## Test the "replicate_row" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_replication_slots.t b/t/02_replication_slots.t index 754dc4f..c63c8ec 100644 --- a/t/02_replication_slots.t +++ b/t/02_replication_slots.t @@ -2,7 +2,7 @@ ## Test the "replication_slots" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_same_schema.t b/t/02_same_schema.t index ccafb6e..478d3d8 100644 --- a/t/02_same_schema.t +++ b/t/02_same_schema.t @@ -2,7 +2,7 @@ ## Test the "same_schema" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_sequence.t b/t/02_sequence.t index 68e92ae..050764f 100644 --- a/t/02_sequence.t +++ b/t/02_sequence.t @@ -2,7 +2,7 @@ ## Test the "sequence" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_settings_checksum.t b/t/02_settings_checksum.t index 3452925..3374aea 100644 --- a/t/02_settings_checksum.t +++ b/t/02_settings_checksum.t @@ -2,7 +2,7 @@ ## Test the "settings_checksum" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_slony_status.t b/t/02_slony_status.t index 0314284..31836c4 100644 --- a/t/02_slony_status.t +++ b/t/02_slony_status.t @@ -2,7 +2,7 @@ ## Test the "slony_status" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_timesync.t b/t/02_timesync.t index 0abecb6..2df8f78 100644 --- a/t/02_timesync.t +++ b/t/02_timesync.t @@ -2,7 +2,7 @@ ## Test of the the "version" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_txn_idle.t b/t/02_txn_idle.t index b552a0b..a0e9847 100644 --- a/t/02_txn_idle.t +++ b/t/02_txn_idle.t @@ -2,7 +2,7 @@ ## Test the "txn_idle" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_txn_time.t b/t/02_txn_time.t index cbd2af4..6b7ed00 100644 --- a/t/02_txn_time.t +++ b/t/02_txn_time.t @@ -2,7 +2,7 @@ ## Test the "txn_time" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_txn_wraparound.t b/t/02_txn_wraparound.t index 4eae698..eb9c6db 100644 --- a/t/02_txn_wraparound.t +++ b/t/02_txn_wraparound.t @@ -2,7 +2,7 @@ ## Test the "txn_wraparound" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_version.t b/t/02_version.t index 97e7d4b..8ff8429 100644 --- a/t/02_version.t +++ b/t/02_version.t @@ -2,7 +2,7 @@ ## Test the "version" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/02_wal_files.t b/t/02_wal_files.t index 84bded2..988e818 100644 --- a/t/02_wal_files.t +++ b/t/02_wal_files.t @@ -2,7 +2,7 @@ ## Test the "wal_files" action -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/03_translations.t b/t/03_translations.t index 8b057eb..ca19921 100644 --- a/t/03_translations.t +++ b/t/03_translations.t @@ -2,7 +2,7 @@ ## Run some sanity checks on the translations -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/04_timeout.t b/t/04_timeout.t index 7c9b000..435f70f 100644 --- a/t/04_timeout.t +++ b/t/04_timeout.t @@ -2,7 +2,7 @@ ## Test the timeout functionality -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/05_docs.t b/t/05_docs.t index 9ee9cfc..b48c64a 100644 --- a/t/05_docs.t +++ b/t/05_docs.t @@ -2,7 +2,7 @@ ## Some basic checks on the documentation -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/99_cleanup.t b/t/99_cleanup.t index 18cb41b..4b860b5 100644 --- a/t/99_cleanup.t +++ b/t/99_cleanup.t @@ -2,7 +2,7 @@ ## Cleanup any mess we made -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper; diff --git a/t/99_perlcritic.t b/t/99_perlcritic.t index 23faa44..77838b7 100644 --- a/t/99_perlcritic.t +++ b/t/99_perlcritic.t @@ -3,7 +3,7 @@ ## Run Perl::Critic against the source code and the tests ## This is highly customized, so take with a grain of salt -use 5.008; +use 5.10.0; use strict; use warnings; use Test::More; diff --git a/t/99_pod.t b/t/99_pod.t index f42dbc8..a9c0d7e 100644 --- a/t/99_pod.t +++ b/t/99_pod.t @@ -2,7 +2,7 @@ ## Check our Pod, requires Test::Pod -use 5.008; +use 5.10.0; use strict; use warnings; use Test::More; diff --git a/t/99_spellcheck.t b/t/99_spellcheck.t index e18f7a7..21b054e 100644 --- a/t/99_spellcheck.t +++ b/t/99_spellcheck.t @@ -2,7 +2,7 @@ ## Spellcheck as much as we can -use 5.008; +use 5.10.0; use strict; use warnings; use Test::More; diff --git a/t/CP_Testing.pm b/t/CP_Testing.pm index 4523075..056b957 100644 --- a/t/CP_Testing.pm +++ b/t/CP_Testing.pm @@ -2,7 +2,7 @@ package CP_Testing; ## -*- mode: CPerl; indent-tabs-mode: nil; cperl-indent-leve ## Common methods used by the other tests for check_postgres.pl -use 5.008; +use 5.10.0; use strict; use warnings; use Data::Dumper;