From: Steve Clark <steve.clark@netwolves.com>
To: pgsql <pgsql-general@postgresql.org>
Subject: postgres operational
Date: Wed, 9 Jan 2019 12:58:44 -0500
Message-ID: <87181bcc-029b-0c0f-6936-d612f01c2223@netwolves.com> (raw)
Hi List,
Is there a sure fire way to tell if postgres server is up an operational. I was testing to see if the
socket at /tmp/.s.PGSQL.5432 existed - but I ran into a recent problem on CentOS 7.5, postgresql 9.2.24, where the
socket was there but my script couldn't read from my database yet.
Thanks,
Steve
--
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: steve.clark@netwolves.com
Subject: Re: postgres operational
In-Reply-To: <87181bcc-029b-0c0f-6936-d612f01c2223@netwolves.com>
References: <87181bcc-029b-0c0f-6936-d612f01c2223@netwolves.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox