aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2022-10-18 11:51:50 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2022-10-18 11:51:50 +0200
commit997cd15c7c1629c3d8545aa2ef1afc2e8a6bacfa (patch)
tree7eaa70322f7144bdc579541886881346d473cf54 /src
parent915a6c4e22ecc4775b9ed18312bf12d896cd2b11 (diff)
downloadpostgresql-997cd15c7c1629c3d8545aa2ef1afc2e8a6bacfa.tar.gz
postgresql-997cd15c7c1629c3d8545aa2ef1afc2e8a6bacfa.zip
Remove no-longer-needed compatibility hack
Our Perl version requirement was raised to 5.14 by commit 4c1532763a00 Discussion: https://postgr.es/m/20221017081649.fjcd2kjqif77uyf2@alvherre.pgsql
Diffstat (limited to 'src')
-rw-r--r--src/test/perl/PostgreSQL/Test/Cluster.pm8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm
index 4fef9c12e61..d7c13318b0f 100644
--- a/src/test/perl/PostgreSQL/Test/Cluster.pm
+++ b/src/test/perl/PostgreSQL/Test/Cluster.pm
@@ -2933,10 +2933,7 @@ sub corrupt_page_checksum
package PostgreSQL::Test::Cluster::V_11
; ## no critic (ProhibitMultiplePackages)
-# parent.pm is not present in all perl versions before 5.10.1, so instead
-# do directly what it would do for this:
-# use parent -norequire, qw(PostgreSQL::Test::Cluster);
-push @PostgreSQL::Test::Cluster::V_11::ISA, 'PostgreSQL::Test::Cluster';
+use parent -norequire, qw(PostgreSQL::Test::Cluster);
# https://www.postgresql.org/docs/11/release-11.html
@@ -2964,8 +2961,7 @@ sub init
package PostgreSQL::Test::Cluster::V_10
; ## no critic (ProhibitMultiplePackages)
-# use parent -norequire, qw(PostgreSQL::Test::Cluster::V_11);
-push @PostgreSQL::Test::Cluster::V_10::ISA, 'PostgreSQL::Test::Cluster::V_11';
+use parent -norequire, qw(PostgreSQL::Test::Cluster::V_11);
# https://www.postgresql.org/docs/10/release-10.html