Re: 8.0: Absolute path required for INITDB? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: 8.0: Absolute path required for INITDB?
Date
Msg-id 5305.1092024870@sss.pgh.pa.us
Whole thread Raw
In response to 8.0: Absolute path required for INITDB?  (Josh Berkus <josh@agliodbs.com>)
Responses Re: 8.0: Absolute path required for INITDB?
List 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 by date:

Previous
From: Josh Berkus
Date:
Subject: 8.0: Absolute path required for INITDB?
Next
From: Josh Berkus
Date:
Subject: Re: 8.0: Absolute path required for INITDB?