Re: PGXLOG variable worthwhile? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PGXLOG variable worthwhile?
Date
Msg-id 9063.1031857929@sss.pgh.pa.us
Whole thread Raw
In response to Re: PGXLOG variable worthwhile?  (Curt Sampson <cjs@cynic.net>)
Responses Re: PGXLOG variable worthwhile?
List pgsql-hackers
Curt Sampson <cjs@cynic.net> writes:
> On Thu, 12 Sep 2002, Justin Clift wrote:
>> Am just wondering if we've ever considered adding a PGXLOG environment
>> variable that would point to the pg_xlog directory?

> IMHO, a much better way to support this is to put this information into
> the config file. That way it can't easily change when you happen to, say,
> start postgres in the wrong window.

Yes.  We rejected environment-variable-based xlog location for reasons
that apply equally well to Windows.  The xlog location *must* be stored
in a physical file in the data directory; anything else is too unsafe.
The current technology for that is a symlink.

While it doesn't have to be a symlink as opposed to some sort of config
file, I don't have the slightest problem with saying that we don't
support relocation of xlog on older Windoid platforms.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re:
Next
From: Tom Lane
Date:
Subject: Re: 7.3beta and ecpg