Re: BUG #5267: initdb fails on AIX: could not identify current directory - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5267: initdb fails on AIX: could not identify current directory
Date
Msg-id 26486.1262882399@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #5267: initdb fails on AIX: could not identify current directory  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: BUG #5267: initdb fails on AIX: could not identify current directory  (Robert Haas <robertmhaas@gmail.com>)
List 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 by date:

Previous
From: Michael Felt
Date:
Subject: Re: BUG #5267: initdb fails on AIX: could not identify current directory
Next
From: Tom Lane
Date:
Subject: Re: BUG #5267: initdb fails on AIX: could not identify current directory