Re: PITR - recovery to a particular transaction - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: PITR - recovery to a particular transaction
Date
Msg-id 200408071733.i77HXWn29867@candle.pha.pa.us
Whole thread Raw
In response to Re: PITR - recovery to a particular transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PITR - recovery to a particular transaction
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@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
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Vacuum Cost Documentation?
Next
From: Bruce Momjian
Date:
Subject: Re: Vacuum Cost Documentation?