Re: Writing new unit tests with PostgresNode

Поиск
Список
Период
Сортировка
От Erik Rijkers
Тема Re: Writing new unit tests with PostgresNode
Дата
Msg-id f5b058472624a03ad5f7228e5eb22266@xs4all.nl
обсуждение исходный текст
Ответ на Re: Writing new unit tests with PostgresNode  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: Writing new unit tests with PostgresNode  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
Список pgsql-hackers
> 
>> - All the core routines used should be compatible down to perl 5.8.8.
>> 
> 
> Ugh. So not just Perl, ancient perl.
> 
> I don't suppose Perl offers any kind of "compatible(5.8.8)" statement 
> or
> anything? Do I have to compile a ten-year-old Perl and its dependencies 
> to
> work on PostgreSQL tests?
> http://search.cpan.org/dist/Perl-MinimumVersion/lib/Perl/MinimumVersion.pm
> looks useful; do you think it's reasonable for code that passes that 
> check
> to just be thrown at the buildfarm?


I think what's needed is:

use 5.008_008;

( see: http://perldoc.perl.org/functions/use.html )





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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Writing new unit tests with PostgresNode
Следующее
От: Abhijit Menon-Sen
Дата:
Сообщение: Re: Writing new unit tests with PostgresNode