Search Postgresql Archives

Re: postgres operational

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux