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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make PostgreSQL::Test::Cluster compatible with all live branches
Date: 2022-03-30 15:25:41
Message-ID: E1nZaCb-00013h-2V@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

We do this via a subclass for any branch older than the minimum known
to be compatible with the main package (currently release 12).

This should be useful for constructing cross-version tests.

In theory this could be extended back any number of versions, with
varying degrees of compatibility.

Reviewed by Michael Paquier and Dagfinn Ilmari Mannsåker

Discussion: https://postgr.es/m/a3efd19a-d5c9-fdf2-6094-4cde056a2708@dunslane.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fb16d2c6588446b00534d90958e6dc312ae52a2f

Modified Files
--------------
src/test/perl/PostgreSQL/Test/Cluster.pm | 79 ++++++++++++++++++++++++++++----
1 file changed, 70 insertions(+), 9 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-03-30 15:54:17 pgsql: Change some internal error messages to elogs
Previous Message Peter Eisentraut 2022-03-30 15:23:54 pgsql: Additional tests for range_intersect_agg(anymultirange)