Re: Writing new unit tests with PostgresNode

From: Erik Rijkers <er(at)xs4all(dot)nl>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-hackers-owner(at)postgresql(dot)org
Subject: Re: Writing new unit tests with PostgresNode
Date: 2016-02-22 07:45:37
Message-ID: f5b058472624a03ad5f7228e5eb22266@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 )

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Abhijit Menon-Sen 2016-02-22 07:50:41 Re: Writing new unit tests with PostgresNode
Previous Message Michael Paquier 2016-02-22 07:41:51 Re: Writing new unit tests with PostgresNode