pgsql: Add PostgreSQL::Test::Cluster::is_alive() - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Add PostgreSQL::Test::Cluster::is_alive()
Date
Msg-id E1ud0Pt-0072YK-2P@gemulon.postgresql.org
Whole thread Raw
List 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@anarazel.de>
Author: Nazir Bilal Yavuz <byavuz81@gmail.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(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Speed up byteain by not parsing traditional-style input twice.
Next
From: Michael Paquier
Date:
Subject: pgsql: Check status of nodes after regression test run in 027_stream_re