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.
OK. I will add a -l flag to specify that location.
> BTW, if your script is relying on pg_resetxlog to be available, best to
> ensure that it's there before you do anything irreversible ...
Oh yes, I will make sure it is available _and_ has the flags from the
new version.
--
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