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

From Marius Andreiana
Subject Re: [HACKERS] [ADMIN] SRPM for 8.0.0 beta?
Date
Msg-id 1092811480.2644.9.camel@marte.biciclete.ro
Whole thread Raw
List pgsql-general
On Tue, 2004-08-17 at 20:27 -0700, Joe Conway wrote:
> 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.
can't it be made version independent?
e.g. something like
if [ -f $PGDATA/PG_VERSION ]
...

--
Marius Andreiana
Galuna - Solutii Linux in Romania
http://www.galuna.ro


pgsql-general by date:

Previous
From: Joel
Date:
Subject: Re: apple uses Postgres for RemoteDesktop 2
Next
From: Tom Lane
Date:
Subject: Re: apple uses Postgres for RemoteDesktop 2