"Simon Riggs" <simon@2ndquadrant.com> writes:
> On Sat, 2006-11-04 at 13:29 -0500, Tom Lane wrote:
>> Looking back in the archives, I note that one of the arguments for
>> making the server use relative paths everywhere was so that it'd be
>> robust against things like DBAs moving directories that contain live
>> postmasters. If we provide a %P option, or otherwise encourage people
>> to write scripts that depend on the absolute path of $PGDATA, we'd lose
>> some of this robustness.
> I think I can fulfil Bernd, Florian and Martijn's wishes by supplying an
> additional substitutable parameter %d which is replaced by the DataDir.
This fails to respond to the concern that DataDir might be out-of-date.
regards, tom lane