Re: updateMinRecoveryPoint bug?

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: updateMinRecoveryPoint bug?
Дата
Msg-id 1262016852.18116.4384.camel@ebony
обсуждение исходный текст
Ответ на Re: updateMinRecoveryPoint bug?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: updateMinRecoveryPoint bug?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] Provide rowcount for utility SELECTs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Provide rowcount for utility SELECTs