We dealt this this (painfully) during 7.3 development. Some wanted a -X
flag to initdb/postgres/postmaster that would identify the pg_xlog
directory while others wanted the flag only on initdb and have initdb
create a symlink.
Finally, we decided to do nothing. and continue to recommend manually
moving pg_xlog using symlinks.
Also, I have heard symlinks are available in native Windows but the
interface to them isn't clearly visible. Can someone clarify that?
---------------------------------------------------------------------------
Justin Clift wrote:
> Hi everyone,
>
> Am just wondering if we've ever considered adding a PGXLOG environment
> variable that would point to the pg_xlog directory?
>
> In a Unix environment it's not real necessary as filesystem links can be
> created, but in other environments (i.e. the Native windows port) it's
> looking like it might be useful.
>
> :-)
>
> Regards and best wishes,
>
> Justin Clift
>
> --
> "My grandfather once told me that there are two kinds of people: those
> who work and those who take the credit. He told me to try to be in the
> first group; there was less competition there."
> - Indira Gandhi
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
-- 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