Re: [HACKERS] SRPM for 8.0.0 beta? - Mailing list pgsql-admin

From Joe Conway
Subject Re: [HACKERS] SRPM for 8.0.0 beta?
Date
Msg-id 4122CCBE.6040505@joeconway.com
Whole thread Raw
In response to Re: [HACKERS] SRPM for 8.0.0 beta?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] SRPM for 8.0.0 beta?
List pgsql-admin
Tom Lane wrote:
> Joe Conway <mail@joeconway.com> 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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] SRPM for 8.0.0 beta?
Next
From: Joe Sunday
Date:
Subject: Re: new install starting backend