Re: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches
Дата
Msg-id 474104.1648685981@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-committers
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?

            regards, tom lane

[1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prairiedog&dt=2022-03-30%2021%3A23%3A58



В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Add .gitignore for basebackup_to_shell.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches