Re: postgres operational

From: Martín Marqués <martin(at)2ndquadrant(dot)com>
To: Steve Clark <steve(dot)clark(at)netwolves(dot)com>, pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgres operational
Date: 2019-01-09 18:19:46
Message-ID: ae897346-afb8-f47a-5e2b-0e99fdc48daa@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

El 9/1/19 a las 14:58, Steve Clark escribió:
> 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.

Use `check_postgres`

--
Martín Marqués http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2019-01-09 18:25:57 Re: Pulling data from Postgres DB table for every 5 seconds.
Previous Message github kran 2019-01-09 18:11:47 Re: Pulling data from Postgres DB table for every 5 seconds.