Make PostgreSQL::Test::Cluster compatible with all live branches
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 30 Mar 2022 15:07:05 +0000 (11:07 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 30 Mar 2022 15:25:11 +0000 (11:25 -0400)
commitfb16d2c6588446b00534d90958e6dc312ae52a2f
tree701a5b48db330956638a9d14fb718895dd1cd256
parentcd7ea75e4b1b0c44476bef4f00075b9a4b07733e
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
src/test/perl/PostgreSQL/Test/Cluster.pm