Re: Writing new unit tests with PostgresNode

From: Abhijit Menon-Sen <ams(at)2ndQuadrant(dot)com>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: Craig Ringer <craig(at)2ndquadrant(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Writing new unit tests with PostgresNode
Date: 2016-02-22 07:50:41
Message-ID: 20160222075041.GA27485@toroid.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 2016-02-22 07:45:37 +0000, er(at)xs4all(dot)nl wrote:
>
> I think what's needed is:
>
> use 5.008_008;

That is meant to fail if the code is run on a version of Perl older than
5.8.8, not fail if the code uses language features not present in 5.8.8.
It is little help for those trying to maintain backwards compatibility.

-- Abhijit

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2016-02-22 08:21:01 Re: psql metaqueries with \gexec
Previous Message Erik Rijkers 2016-02-22 07:45:37 Re: Writing new unit tests with PostgresNode