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

Поиск
Список
Период
Сортировка
От Marius Andreiana
Тема Re: [HACKERS] [ADMIN] SRPM for 8.0.0 beta?
Дата
Msg-id 1092811480.2644.9.camel@marte.biciclete.ro
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Joel
Дата:
Сообщение: Re: apple uses Postgres for RemoteDesktop 2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: apple uses Postgres for RemoteDesktop 2