Tom Lane wrote:
> 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.
Agreed. Win 4.X is pretty dead. I added this thread to TODO.detail.
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073