On Thu, Sep 18, 2025 at 4:47 PM Ron Watkins <rwatki(at)gmail(dot)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!