Re: B-tree parent pointer and checkpoints - Mailing list pgsql-hackers

From Tom Lane
Subject Re: B-tree parent pointer and checkpoints
Date
Msg-id 12071.1289427977@sss.pgh.pa.us
Whole thread Raw
In response to Re: B-tree parent pointer and checkpoints  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: B-tree parent pointer and checkpoints
List 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 by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: multi-platform, multi-locale regression tests
Next
From: "David E. Wheeler"
Date:
Subject: Re: multi-platform, multi-locale regression tests