Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Also, how do I find the current xlog segment position. Is it one of
> > these fields shown by pg_controldata?
>
> "latest checkpoint location" should do.
>
> BTW, if your script is relying on pg_resetxlog to be available, best to
> ensure that it's there before you do anything irreversible ...
Do we want to remove the 7.1beta WAL format code from
/contrib/pg_resetxlog? Remember, this utility was originally written to
allow for a WAL format change during 7.1beta testing. Seems like dead
code now.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026