X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 027A8475AE4 for ; Sat, 12 Apr 2003 21:12:50 -0400 (EDT) Received: from smurfer.pastoraat (minas-2.demon.nl [212.238.194.105]) by postgresql.org (Postfix) with ESMTP id C77EA47580B for ; Sat, 12 Apr 2003 21:12:45 -0400 (EDT) Received: from depastor.minas.demon.nl (athlon.pastoraat [192.168.1.1]) by smurfer.pastoraat (8.12.8/8.12.4) with ESMTP id h3D1N5Z7021135; Sun, 13 Apr 2003 03:23:07 +0200 Message-Id: <5.1.0.14.0.20030413031403.00bb6c08@192.168.1.3> X-Sender: michiel@192.168.1.3 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 13 Apr 2003 03:15:07 +0200 To: alien@spaceship.com From: Michiel Lange Subject: Re: When is postmaster ready? Cc: In-Reply-To: <43188.24.243.214.140.1050184661.squirrel@earth.spaceship.c om> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Status: No, hits=-12.8 required=5.0 tests=BAYES_20,EMAIL_ATTRIBUTION,IN_REP_TO autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/209 X-Sequence-Number: 8364 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