Re: [HACKERS] [ADMIN] SRPM for 8.0.0 beta?

From: Marius Andreiana <mandreiana(at)rdslink(dot)ro>
To: Joe Conway <mail(at)joeconway(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: [HACKERS] [ADMIN] SRPM for 8.0.0 beta?
Date: 2004-08-18 06:44:39
Message-ID: 1092811480.2644.9.camel@marte.biciclete.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-hackers

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2004-08-18 07:49:59 Re: [HACKERS] SRPM for 8.0.0 beta?
Previous Message Oleg Bartunov 2004-08-18 05:00:38 Re: Documents storage

Browse pgsql-general by date

  From Date Subject
Next Message Igor Kryltsov 2004-08-18 07:09:04 Re: Problems using count() with a join - trying to format it better
Previous Message Joel 2004-08-18 06:22:44 Re: apple uses Postgres for RemoteDesktop 2

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-08-18 06:47:26 Re: Does psql use nested transactions?
Previous Message Honza Pazdziora 2004-08-18 06:39:19 Re: Does psql use nested transactions?