Re: BUG #3401: PITR does not work in the case ofrecovery_target_xid = 'SELECT_only_transaction_ID' - Mailing list pgsql-bugs

From Simon Riggs
Subject Re: BUG #3401: PITR does not work in the case ofrecovery_target_xid = 'SELECT_only_transaction_ID'
Date
Msg-id 1182497919.9276.44.camel@silverbirch.site
Whole thread Raw
In response to BUG #3401: PITR does not work in the case of recovery_target_xid = 'SELECT_only_transaction_ID'  ("Katsuhiko Okano" <okano.katsuhiko@oss.ntt.co.jp>)
Responses Re: BUG #3401: PITR does not work in the case ofrecovery_target_xid = 'SELECT_only_transaction_ID'  (Katsuhiko Okano <okano.katsuhiko@oss.ntt.co.jp>)
List pgsql-bugs
On Thu, 2007-06-21 at 11:17 +0000, Katsuhiko Okano wrote:

> Description:        PITR does not work in the case of recovery_target_xid =
> 'SELECT_only_transaction_ID'
> Details:

If a transaction is purely read only then there is no COMMIT or ABORT
message written to the transaction log. As a result there is no way to
know at what point that transaction occurred, nor any way to use the
recovery_target_xid on those kinds of transactions. This is not a bug in
PITR, it is a specific optimisation of WAL to improve the throughput of
read-only queries.

I'll add this to the docs in my next round of docs changes.

How did you come to choose an xid of this nature?

--
  Simon Riggs
  EnterpriseDB   http://www.enterprisedb.com

pgsql-bugs by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: BUG #3403: ver 8.2 can't add serial column to temp table,but 8.1 can
Next
From: Katsuhiko Okano
Date:
Subject: Re: BUG #3401: PITR does not work in the case ofrecovery_target_xid = 'SELECT_only_transaction_ID'