On Thu, Aug 12, 2010 at 9:37 PM, Fujii Masao <masao.fu...@gmail.com> wrote:
> Before 9.0, since xact_redo_commit always calls TransactionIdCommitTree,
> TransactionIdSetStatusBit always receives InvalidXLogRecPtr. In 9.0,
> xact_redo_commit calls TransactionIdCommitTree only when hot standby is
> disabled. OTOH, when hot standby is enabled, xact_redo_commit calls
> TransactionIdAsyncCommitTree, so TransactionIdSetStatusBit receives the
> valid lsn.

Hmm.  Maybe that should be spelled out a little more explicitly in the comment.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to