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 18:07:39 |
Message-ID: | 200408071807.i77I7dP05849@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:
> > 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?
>
> Yes. You don't get to be selective about what to keep: it's everything
> up to a certain time instant, and nothing after that. Stopping by XID
> is just a different way of identifying what that time instant is.
>
> BTW, stopping "before" an XID actually means stopping just before its
> commit or abort record, so transactions that ended before it did will
> be included in the recovery.
OK, I added a mention of this in the docs.
--
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 | Joe Conway | 2004-08-07 18:29:07 | Re: [PATCHES] [BUGS] casting strings to multidimensional arrays yields |
Previous Message | Tom Lane | 2004-08-07 18:00:50 | Re: PITR - recovery to a particular transaction |