Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id CEDA59FB308 for ; Wed, 27 Sep 2006 10:45:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 69765-05 for ; Wed, 27 Sep 2006 13:45:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from twmail.ESNCC.COM (static-66-173-159-28.t1.cavtel.net [66.173.159.28]) by postgresql.org (Postfix) with SMTP id C4C019FB298 for ; Wed, 27 Sep 2006 10:45:06 -0300 (ADT) Received: from spawar2i8uvlb9 ([150.125.117.63]) by twmail.ESNCC.COM with Microsoft SMTPSVC(6.0.3790.1830); Wed, 27 Sep 2006 09:45:04 -0400 From: "Lane Van Ingen" To: Subject: What Are Last Steps Performed When PostgreSQL Starts? Date: Wed, 27 Sep 2006 10:05:24 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757 In-Reply-To: Thread-Index: Acbeenu9pUHch81DSYOIIXnGjwBmuwADxQGgAOnDKIA= Message-ID: X-OriginalArrivalTime: 27 Sep 2006 13:45:04.0291 (UTC) FILETIME=[22E35730:01C6E23B] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200609/322 X-Sequence-Number: 23236 We are running PostgreSQL 8.1.4 on Red Hat Enterprise Linux 4.0 platforms that are deployed worldwide. In our most recent release, we started using a Java tool called IZPack to install and start up our application, including PostgreSQL. We are finding that we need to slow down this Java tool as it installs our application, since it appears the tool does not wait for each step in the install script to complete before executing the next step. This is affecting a successful install of PostgreSQL. QUESTION: what are the few last steps that PostgreSQL does when it starts up? I am looking for things that I can check to be sure it has completed installation (from a script) before allowing the script to proceed to the next step, like: - opening a socket - creating a PID file - etc.