Re: updateMinRecoveryPoint bug? - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: updateMinRecoveryPoint bug?
Date
Msg-id 1262016852.18116.4384.camel@ebony
Whole thread Raw
In response to Re: updateMinRecoveryPoint bug?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: updateMinRecoveryPoint bug?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
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.

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] Provide rowcount for utility SELECTs
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Provide rowcount for utility SELECTs