Re: 8.0: Absolute path required for INITDB?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 8.0: Absolute path required for INITDB?
Дата
Msg-id 19337.1092082974@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 8.0: Absolute path required for INITDB?  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-bugs
Josh Berkus <josh@agliodbs.com> writes:
> 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

Actually, the problem seems to be specific to the use of "." or ".." in
the invocation path.  I have applied a patch that seems to fix it for
me.

> I don't recall having this issue with 7.4.

All that path-hacking logic is new in 8.0, I believe.  Before we were
using some shell utilities to do it for us.

            regards, tom lane

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

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