pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michiel Lange <michiel@minas.demon.nl>
To: alien@spaceship.com
Cc: pgsql-admin@postgresql.org
Subject: Re: When is postmaster ready?
Date: Sun, 13 Apr 2003 03:15:07 +0200
Message-ID: <5.1.0.14.0.20030413031403.00bb6c08@192.168.1.3> (raw)
In-Reply-To: <43188.24.243.214.140.1050184661.squirrel@earth.spaceship.c om>

 From my experience, the time that it takes before it is ready is less than 
a second, so I think you can safely assume the system is ready directly 
after the script tells the postmaster is ready... (otherwise the script 
would be lying to you...)

At 16:57 12-4-2003 -0500, Matt Mello wrote:
>I have a startup script that first starts up postmaster, then starts up my
>application server.  I haven't run into any problems yet, but just to be
>sure, I thought I'd ask:
>
>Once your script comes back from running postmaster, is pg completely ready
>to receive connections (IP), or is there some unknown amount of time that
>will pass before it will be ready?  The postmater docs didn't seem to
>indicate that once you run it, it is absolutely ready for connections.
>
>Thanks!
>
>--
>Matt Mello
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org




view thread (3+ messages)  latest in thread

Message-ID: <5.1.0.14.0.20030413031403.00bb6c08@192.168.1.3>
Permalink:  ../5.1.0.14.0.20030413031403.00bb6c08@192.168.1.3/
Also on:    postgresql.org/message-id/5.1.0.14.0.20030413031403.00bb6c08@192.168.1.3

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: michiel@minas.demon.nl, alien@spaceship.com
  Subject: Re: When is postmaster ready?
  In-Reply-To: <5.1.0.14.0.20030413031403.00bb6c08@192.168.1.3>
  References: <5.1.0.14.0.20030413031403.00bb6c08@192.168.1.3>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox