Re: postgres operational

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: postgres operational
Date: 2019-01-09 20:38:48
Message-ID: 1945c175-0c31-b030-5d52-6535c7f9a5d6@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/9/19 12:19 PM, Martín Marqués wrote:
> 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`

Isn't "pg_ctl status" the canonical method?

--
Angular momentum makes the world go 'round.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message github kran 2019-01-09 20:50:47 Re: Pulling data from Postgres DB table for every 5 seconds.
Previous Message Mark Fletcher 2019-01-09 18:35:42 Re: Pulling data from Postgres DB table for every 5 seconds.