postgres operational

From: Steve Clark <steve(dot)clark(at)netwolves(dot)com>
To: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: postgres operational
Date: 2019-01-09 17:58:44
Message-ID: 87181bcc-029b-0c0f-6936-d612f01c2223@netwolves.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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
--

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2019-01-09 18:01:23 Re: Pulling data from Postgres DB table for every 5 seconds.
Previous Message Mark Fletcher 2019-01-09 17:24:18 Re: Pulling data from Postgres DB table for every 5 seconds.