Re: Postgres and Upstart

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Chris Angelico *EXTERN*" <rosuav(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres and Upstart
Date: 2012-08-10 13:56:27
Message-ID: D960CB61B694CF459DCFB4B0128514C208419D00@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Chris Angelico wrote:
> I'm looking for a reliable way to be sure that Postgres has finished
> its initialization and is ready to rumble.

The normal way to test this is a connection attempt.
You could also look into the server logs for the
appropriate message, but that seems more fragile and difficult.

Does that help?

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Benjamin Adams 2012-08-10 13:59:31 External Storage of data dir
Previous Message François Beausoleil 2012-08-10 13:49:36 Re: slowness what only full vacuum can solve