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

Andrew Dunstan <andrew@dunslane.net>

Commit: fb16d2c6588446b00534d90958e6dc312ae52a2f
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2022-03-30T15:25:11Z
Releases: 15.0
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

Files

PathChange+/−
src/test/perl/PostgreSQL/Test/Cluster.pm modified +70 −9

Discussion