Re: Writing new unit tests with PostgresNode - Mailing list pgsql-hackers

From Erik Rijkers
Subject Re: Writing new unit tests with PostgresNode
Date
Msg-id f5b058472624a03ad5f7228e5eb22266@xs4all.nl
Whole thread Raw
In response to Re: Writing new unit tests with PostgresNode  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: Writing new unit tests with PostgresNode
List 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 by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Writing new unit tests with PostgresNode
Next
From: Abhijit Menon-Sen
Date:
Subject: Re: Writing new unit tests with PostgresNode