Re: pgping? - Mailing list pgsql-admin

From Ron Johnson
Subject Re: pgping?
Date
Msg-id CANzqJaApzEfVtBqvitzFunaVNpwTDy=rNorXm0_YAuCFVO_c=w@mail.gmail.com
Whole thread Raw
In response to pgping?  (Ron Watkins <rwatki@gmail.com>)
Responses Re: pgping?
List pgsql-admin
On Thu, Sep 18, 2025 at 4:47 PM Ron Watkins <rwatki@gmail.com> wrote:
How do you install pgping on RHEL 9?
It doesn't appear to come with the distribution.
Is there some specific repo you need to use?

Is it in the RHEL 8 repo?

What does it do that ncat and psql don't do?

Test_PG1() { nc -zw5 $1 5432 &> /dev/null ; }
Test_PG2() { psql -h $1 -XAtqc "select version()" &> /dev/null ; }

Test_PG1 example.com || { echo "Server inaccessible."; do_something; }

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

pgsql-admin by date:

Previous
From: Ron Watkins
Date:
Subject: pgping?
Next
From: Tom Lane
Date:
Subject: Re: pgping?