Re: B-tree parent pointer and checkpoints

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: B-tree parent pointer and checkpoints
Дата
Msg-id 12071.1289427977@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: B-tree parent pointer and checkpoints  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: B-tree parent pointer and checkpoints  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> The new rule is that before you start a multi-WAL-record operation that 
> needs to be completed at end of recovery if you crash in the middle, you 
> call HoldCheckpoint(), and once you're finished, ResumeCheckpoint(). 

What happens if you error out in between?  Or is it assumed that the
*entire* sequence is a critical section?  If it has to be that way,
one might wonder what's the point of trying to split it into multiple
WAL records.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: multi-platform, multi-locale regression tests
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: multi-platform, multi-locale regression tests