Re: updateMinRecoveryPoint bug? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: updateMinRecoveryPoint bug?
Date
Msg-id 4B3B1153.50601@enterprisedb.com
Whole thread Raw
In response to Re: updateMinRecoveryPoint bug?  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs wrote:
> On Mon, 2009-12-28 at 14:40 +0200, Heikki Linnakangas wrote:
>> Fujii Masao wrote:
> 
>>> How about always resetting ControlFile->minRecoveryPoint to {0, 0} at the
>>> beginning of a crash recovery, to fix the bug?
>> Yeah, that would work. I think it would be better to clear it in
>> CreateCheckPoint(), though, when we set the pointer to the new
>> checkpoint. That includes the shutdown checkpoint created at the end of
>> archive recovery. minRecoveryPoint should never be set during normal
>> operation, after all.
> 
> Sounds better.

Committed.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: KNNGiST for knn-search (WIP)
Next
From: "Tarun Sharma"
Date:
Subject: solution to make static changes in pg_hba.conf file?