Re: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches - Mailing list pgsql-committers

From Andrew Dunstan
Subject Re: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches
Date
Msg-id 393B4FCB-1A6D-4993-B914-7E20A54863BE@dunslane.net
Whole thread Raw
In response to Re: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers

> On Mar 30, 2022, at 8:19 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Andrew Dunstan <andrew@dunslane.net> writes:
>> Make PostgreSQL::Test::Cluster compatible with all live branches
>
> prairiedog is unhappy [1], seemingly as a result of this patch:
>
> t/001_repl_stats....Can't locate parent.pm in @INC (@INC contains: ../../src/test/perl/ .
/usr/local/perl5.8.3/lib/5.8.3/darwin-2level/usr/local/perl5.8.3/lib/5.8.3/darwin-2level /usr/local/perl5.8.3/lib/5.8.3
/usr/local/perl5.8.3/lib/site_perl/5.8.3/darwin-2level/usr/local/perl5.8.3/lib/site_perl/5.8.3/darwin-2level
/usr/local/perl5.8.3/lib/site_perl/5.8.3/usr/local/perl5.8.3/lib/site_perl/5.8.3/darwin-2level
/usr/local/perl5.8.3/lib/site_perl/5.8.3/usr/local/perl5.8.3/lib/site_perl .
/usr/local/perl5.8.3/lib/5.8.3/darwin-2level/usr/local/perl5.8.3/lib/5.8.3
/usr/local/perl5.8.3/lib/site_perl/5.8.3/darwin-2level/usr/local/perl5.8.3/lib/site_perl/5.8.3
/usr/local/perl5.8.3/lib/site_perl.) at ../../src/test/perl//PostgreSQL/Test/Cluster.pm line 2921. 
> BEGIN failed--compilation aborted at ../../src/test/perl//PostgreSQL/Test/Cluster.pm line 2921.
>
> I think this means that its old Perl version misinterprets
>
> use parent -norequire, qw(PostgreSQL::Test::Cluster);
>
> as a request to include "parent.pm".  Is there a more
> backwards-compatible way to spell that?


Not that I know of. Googling tells me it was a core module from 5.10.1. I can revert tomorrow if necessary :-(

Cheers

Andrew



pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches