Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V7iG3-0008U1-Mw for pgsql-general@arkaria.postgresql.org; Fri, 09 Aug 2013 08:41:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V7iG3-00077Y-6n for pgsql-general@arkaria.postgresql.org; Fri, 09 Aug 2013 08:41:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V7iG1-00077O-Pq for pgsql-general@postgresql.org; Fri, 09 Aug 2013 08:41:13 +0000 Received: from mail03.pnet.xcon.it ([62.48.53.116]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V7iFy-0006GA-BY for pgsql-general@postgresql.org; Fri, 09 Aug 2013 08:41:13 +0000 Received: from localhost (av.pnet.xcon.it [10.68.1.18]) by mail03.pnet.xcon.it (Postfix) with ESMTP id EC5BED2730; Fri, 9 Aug 2013 10:41:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at av Received: from mail03.pnet.xcon.it ([10.68.1.24]) by localhost (av.pnet.xcon.it [10.68.1.18]) (amavisd-new, port 10024) with LMTP id 8eI7ns5bb8A1; Fri, 9 Aug 2013 10:40:41 +0200 (CEST) Received: from bnc1.pnet.xcon.it (bnc1.pnet.xcon.it [10.68.1.23]) by mail03.pnet.xcon.it (Postfix) with ESMTP id 58D73D2584; Fri, 9 Aug 2013 10:41:03 +0200 (CEST) Received: from webmail.xcon.it (unknown [62.48.53.98]) (Authenticated sender: gabriele.bartolini@2ndquadrant.it) by bnc1.pnet.xcon.it (Postfix) with ESMTPSA id 4F3261022E23; Fri, 9 Aug 2013 10:41:03 +0200 (CEST) Received: from eggIB-wan.comune.prato.it ([193.43.108.2]) by webmail.xcon.it with HTTP (HTTP/1.1 POST); Fri, 09 Aug 2013 10:41:03 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 09 Aug 2013 10:41:03 +0200 From: Gabriele Bartolini To: Cc: PostgreSQL general Subject: Re: Recovery.conf and PITR In-Reply-To: References: <1375985902.2599.YahooMailNeo@web162904.mail.bf1.yahoo.com> Message-ID: <87b71f906c353cb82c1b75c3b0e4963e@2ndquadrant.it> X-Sender: Gabriele.Bartolini@2ndQuadrant.it User-Agent: [X]con Webmail/0.4.2 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Hello, On Fri, 9 Aug 2013 16:09:49 +0800, "ascot.moss@gmail.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.Bartolini@2ndQuadrant.it - www.2ndQuadrant.it -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general