Re: BUG #5267: initdb fails on AIX: could not identify current directory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5267: initdb fails on AIX: could not identify current directory
Дата
Msg-id 26486.1262882399@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #5267: initdb fails on AIX: could not identify current directory  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: BUG #5267: initdb fails on AIX: could not identify current directory  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-bugs
Robert Haas <robertmhaas@gmail.com> writes:
> I have to say that the error message that is produced by the above
> test case could easily send one looking in the wrong direction, and
> could perhaps stand to be improved.  Could we just do getcwd() once,
> bail out if it fails, and then stash the results, rather than
> continuing on and eventually producing a misleading error message?

How does that help?  We still can't print the directory name.

            regards, tom lane

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

Предыдущее
От: Michael Felt
Дата:
Сообщение: Re: BUG #5267: initdb fails on AIX: could not identify current directory
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5267: initdb fails on AIX: could not identify current directory