Re: I know installation questions are boring ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: I know installation questions are boring ...
Дата
Msg-id 10916.974424483@sss.pgh.pa.us
обсуждение исходный текст
Ответ на I know installation questions are boring ...  (Alexander Jerusalem <ajeru@gmx.net>)
Ответы Re: I know installation questions are boring ...
Re: I know installation questions are boring ...
Список pgsql-general
Alexander Jerusalem <ajeru@gmx.net> writes:
> I keep getting an intresting error message: "FATAL 1: Version number in
> file '../data/PG_VERSION' should be 7.0, not 7.0"
> Any ideas?

PG_VERSION should contain the 4 bytes "7.0\n".  The initdb script
creates it in what may be too simplistic a fashion:

    echo $version > "$PGDATA/PG_VERSION"

It sounds like your copy of echo decided to write the newline as
DOS-style \r\n instead of just \n.

Of course this just begs the question of why it works for some people
on NT and not others.  Is this a difference across cygwin releases,
perhaps?

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Alfred Perlstein
Дата:
Сообщение: Re: I know installation questions are boring ...
Следующее
От: Marko Kreen
Дата:
Сообщение: Re: [HACKERS] Re: PHPBuilder article -- Postgres vs MySQL