Re: [HACKERS] SRPM for 8.0.0 beta?

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: [HACKERS] SRPM for 8.0.0 beta?
Дата
Msg-id 4122CCBE.6040505@joeconway.com
обсуждение исходный текст
Ответ на Re: [HACKERS] SRPM for 8.0.0 beta?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] SRPM for 8.0.0 beta?  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] SRPM for 8.0.0 beta?
Следующее
От: Joe Sunday
Дата:
Сообщение: Re: new install starting backend