Re: 8.0: Absolute path required for INITDB?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 8.0: Absolute path required for INITDB?
Дата
Msg-id 5305.1092024870@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 8.0: Absolute path required for INITDB?  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: 8.0: Absolute path required for INITDB?  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-bugs
Josh Berkus <josh@agliodbs.com> writes:
> If a relative path is used for the -L option in initdb, the following fatal
> error happens:

7.4 fails in the same way, and probably every prior release too.
The problem is that the backend has done a chdir into the template1
subdirectory, so paths that are relative from your perspective
no longer apply.

It might be worth absolut-izing this path in initdb before it's
passed down, but I can't get exceedingly excited about it.

            regards, tom lane

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

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