Extend compatibility of PostgreSQL::Test::Cluster

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Extend compatibility of PostgreSQL::Test::Cluster
Date: 2021-12-28 14:30:24
Message-ID: a3efd19a-d5c9-fdf2-6094-4cde056a2708@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

PFA a patch to extend the compatibility of PostgreSQL::Test::Cluster to
all live branches. It does this by introducing a couple of subclasses
which override a few things. The required class is automatically
detected and used, so users don't need to specify a subclass. Although
this is my work it draws some inspiration from work by Jehan-Guillaume
de Rorthais. The aim here is to provide minimal disruption to the
mainline code, and also to have very small override subroutines.

My hope is to take this further, down to 9.2, which we recently decided
to give limited build support to. However I think the present patch is a
good stake to put into the ground.



Andrew Dunstan
EDB: https://www.enterprisedb.com

Attachment Content-Type Size
cluster-compat-extension.patch text/x-patch 3.8 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema 2021-12-28 15:49:00 Re: [EXTERNAL] Re: PQcancel does not use tcp_user_timeout, connect_timeout and keepalive settings
Previous Message Ashutosh Bapat 2021-12-28 13:12:00 Re: generic plans and "initial" pruning