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

Michael Paquier <michael@paquier.xyz>

Commit: d4c9195eff419dcad47d5c2137e31f790c32adde
Author: Michael Paquier <michael@paquier.xyz>
Date: 2025-07-19T05:38:52Z
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

Files

PathChange+/−
src/test/perl/PostgreSQL/Test/Cluster.pm modified +26 −0

Discussion