X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4CB885E46C1 for ; Wed, 1 Sep 2004 20:03:08 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 62923-07 for ; Wed, 1 Sep 2004 23:03:02 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id CCCE55E4706 for ; Wed, 1 Sep 2004 20:03:00 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i81N0XhD011149; Wed, 1 Sep 2004 19:00:34 -0400 (EDT) To: Seamus Ryan Cc: pgsql-admin@postgresql.org Subject: Re: initdb - (InitPostgres) - FATAL: database "postgres" does not exist In-reply-to: <6.1.2.0.0.20040901091028.01bd9488@post.queensu.ca> References: <6.1.2.0.0.20040901091028.01bd9488@post.queensu.ca> Comments: In-reply-to Seamus Ryan message dated "Wed, 01 Sep 2004 09:27:00 -0400" Date: Wed, 01 Sep 2004 19:00:33 -0400 Message-ID: <11148.1094079633@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/18 X-Sequence-Number: 14721 Seamus Ryan writes: > Note in the initdb script I altered the call to postgres to turn on debug: Hmmm .... > Any hints on why InitPostgres is not finding database "postgres"? Because there isn't one --- at that point in the process, only database template1 will exist. The postgres invocation at that step of initdb looks just about the same as the previous ones: "$PGPATH"/postgres $PGSQL_OPT template1 >/dev/null <