Re: 8.0: Absolute path required for INITDB?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: 8.0: Absolute path required for INITDB?
Дата
Msg-id 200408091220.42721.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: 8.0: Absolute path required for INITDB?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 8.0: Absolute path required for INITDB?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: 8.0: Absolute path required for INITDB?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: 8.0: Absolute path required for INITDB?  (CoL <col@mportal.hu>)
Список pgsql-bugs
Tom,

> Well, that does deserve investigation.  But I've been initdb'ing
> frequently and not noticed any problems.  What configure switches
> did you use exactly?  Did you try to move the installation tree
> after configure?

Here's the issue: if you start initdb from a directory other than PGBASE, you
can run into trouble:

postgres@mole:/usr/local/pg80b/bin> ./initdb -D ../data
initdb: file "/usr/local/pg80b/bin/share/postgresql/postgres.bki" does not
exist
This means you have a corrupted installation or identified
the wrong directory with the invocation option -L.
postgres@mole:/usr/local/pg80b/bin>

I don't recall having this issue with 7.4.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: 8.0: Absolute path required for INITDB?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.0: Absolute path required for INITDB?