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 DDB135E46DF; Wed, 18 Aug 2004 00:27:57 -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 73250-06; Wed, 18 Aug 2004 03:28:01 +0000 (GMT) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id 414A85E46D3; Wed, 18 Aug 2004 00:27:52 -0300 (ADT) Received: from [192.168.4.3] (account jconway [192.168.4.3] verified) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 2128186; Tue, 17 Aug 2004 20:20:22 -0700 Message-ID: <4122CCBE.6040505@joeconway.com> Date: Tue, 17 Aug 2004 20:27:58 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: Steve Bergman , "Hackers (PostgreSQL)" , pgsql-admin@postgresql.org Subject: Re: [HACKERS] SRPM for 8.0.0 beta? References: <1092514982.19562.15.camel@voyager.localdomain> <411EFB9C.1090804@joeconway.com> <41210FE2.4020202@joeconway.com> <41226B6D.60503@joeconway.com> <17326.1092799454@sss.pgh.pa.us> In-Reply-To: <17326.1092799454@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: 200408/154 X-Sequence-Number: 14549 Tom Lane wrote: > Joe Conway writes: > >>Hopefully the third try is a charm ;-) > >>Version 3 is now available: fixes the init script. Previously >>/etc/init.d/postgresql worked the first time used (i.e. would initdb and >>start postgres) but not the second and subsequent times. > > [ blink... ] Was this your own error, or are you saying there is such a > bug in the current RPM distributions? > My own. I missed changing this line: if [ `cat $PGDATA/PG_VERSION` != '7.4' ] to this: if [ `cat $PGDATA/PG_VERSION` != '8.0' ] That code section gets skipped over in the case that no initdb has yet been performed, so I didn't notice until I went to restart the server. Joe