Re: typos in HS source code comment

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: typos in HS source code comment
Date: 2010-08-13 15:10:23
Message-ID: AANLkTikUAFMBcbEPskZOXR=Wy4jFCObgEyXxCOO4F=E2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 12, 2010 at 9:37 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-08-13 15:11:19 Re: [HACKERS] postgres 9.0 crash when bringing up hot standby
Previous Message Robert Haas 2010-08-13 14:46:10 Re: patch: General purpose utility functions used by the JSON data type