Re: Recovery.conf and PITR

From: Gabriele Bartolini <Gabriele(dot)Bartolini(at)2ndQuadrant(dot)it>
To: <ascot(dot)moss(at)gmail(dot)com>
Cc: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Recovery.conf and PITR
Date: 2013-08-09 08:41:03
Message-ID: 87b71f906c353cb82c1b75c3b0e4963e@2ndquadrant.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Hello,

On Fri, 9 Aug 2013 16:09:49 +0800, "ascot(dot)moss(at)gmail(dot)com"
<ascot(dot)moss(at)gmail(dot)com> wrote:
> postgres=# select txid_current();
> txid_current
> --------------
> 75666
> (1 row)
>
>
> Can you please advise?

WAL contains REDO log information, which means only COMMITTED
transactions will be recovered. Sequentiality of TXID refers to the
start of the transaction. Transactions can therefore be committed in a
different order (meaning that 75666 could for example be committed
before 75634 in your case).

Remember that if you do not specify "recovery_target_inclusive =
false", your txid target will be included in the recovered server.

For further information, I suggest you look at:
http://www.postgresql.org/docs/9.2/static/recovery-target-settings.html

Cheers,
Gabriele
--
Gabriele Bartolini - 2ndQuadrant Italia
PostgreSQL Training, Services and Support
Gabriele(dot)Bartolini(at)2ndQuadrant(dot)it - www.2ndQuadrant.it

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Luca Ferrari 2013-08-09 08:49:05 Re: Recovery.conf and PITR
Previous Message ascot.moss@gmail.com 2013-08-09 08:09:49 Recovery.conf and PITR

Browse pgsql-general by date

  From Date Subject
Next Message Luca Ferrari 2013-08-09 08:49:05 Re: Recovery.conf and PITR
Previous Message ascot.moss@gmail.com 2013-08-09 08:09:49 Recovery.conf and PITR