From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | olly(at)lfix(dot)co(dot)uk, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: PITR - recovery to a particular transaction |
Date: | 2004-08-07 17:33:32 |
Message-ID: | 200408071733.i77HXWn29867@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > When we do a PITR recovery based on xid, does it stop recovery based on
> > the start of the xid or the commit of the xid?
>
> You can stop either "before" or "after" that commit. See
> recovery.conf.sample (I don't think it's documented anywhere else
> yet :-(),
Yea, my question is if you choose "after", do you get everything that
happens until the "after" transaction commits, or just when it begins.
If I stop after xid 125, and xid 126 starts and stops before 125
commits, does 126 get restored?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-08-07 17:39:20 | Re: Vacuum Cost Documentation? |
Previous Message | Tom Lane | 2004-08-07 16:59:17 | Re: Vacuum Cost Documentation? |