pgsql: Add PostgreSQL::Test::Cluster::is_alive()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add PostgreSQL::Test::Cluster::is_alive()
Date: 2025-07-19 05:47:25
Message-ID: E1ud0Pt-0072YK-2P@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add PostgreSQL::Test::Cluster::is_alive()

This new routine acts as a wrapper of pg_isready, that can be run on a
node to check its connection status. This will be used in a recovery
test in a follow-up commit.

Suggested-by: Andres Freund <andres(at)anarazel(dot)de>
Author: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAN55FZ1D6KXvjSs7YGsDeadqCxNF3UUhjRAfforzzP0k-cE=bA@mail.gmail.com

Branch
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-07-19 06:03:48 pgsql: Check status of nodes after regression test run in 027_stream_re
Previous Message Tom Lane 2025-07-18 20:42:18 pgsql: Speed up byteain by not parsing traditional-style input twice.