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

Started by Michael Paquier11 months ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/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(+)