Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 997cd15

Browse files
committed
Remove no-longer-needed compatibility hack
Our Perl version requirement was raised to 5.14 by commit 4c15327 Discussion: https://postgr.es/m/20221017081649.fjcd2kjqif77uyf2@alvherre.pgsql
1 parent 915a6c4 commit 997cd15

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/test/perl/PostgreSQL/Test/Cluster.pm

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2933,10 +2933,7 @@ sub corrupt_page_checksum
29332933
package PostgreSQL::Test::Cluster::V_11
29342934
; ## no critic (ProhibitMultiplePackages)
29352935

2936-
# parent.pm is not present in all perl versions before 5.10.1, so instead
2937-
# do directly what it would do for this:
2938-
# use parent -norequire, qw(PostgreSQL::Test::Cluster);
2939-
push @PostgreSQL::Test::Cluster::V_11::ISA, 'PostgreSQL::Test::Cluster';
2936+
use parent -norequire, qw(PostgreSQL::Test::Cluster);
29402937

29412938
# https://www.postgresql.org/docs/11/release-11.html
29422939

@@ -2964,8 +2961,7 @@ sub init
29642961
package PostgreSQL::Test::Cluster::V_10
29652962
; ## no critic (ProhibitMultiplePackages)
29662963

2967-
# use parent -norequire, qw(PostgreSQL::Test::Cluster::V_11);
2968-
push @PostgreSQL::Test::Cluster::V_10::ISA, 'PostgreSQL::Test::Cluster::V_11';
2964+
use parent -norequire, qw(PostgreSQL::Test::Cluster::V_11);
29692965

29702966
# https://www.postgresql.org/docs/10/release-10.html
29712967

0 commit comments

Comments
 (0)