Euler Taveira de Oliveira wrote:
> Martin Pitt wrote:
> > For example, "psql -l" is a convenient
> > method to check whether the postmaster is running at all,
> > finished with startup and ready for connections.
>
> Why not just "pg_ctl status"?
That doesn't check whether the server is actually answering requests.
And it cannot check remote hosts.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/