Re: PITR - recovery to a particular transaction

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PITR - recovery to a particular transaction
Дата
Msg-id 200408071733.i77HXWn29867@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: PITR - recovery to a particular transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PITR - recovery to a particular transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum Cost Documentation?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Vacuum Cost Documentation?