Re: GIN, XLogInsert and MarkBufferDirty - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GIN, XLogInsert and MarkBufferDirty
Date
Msg-id 17326.1181056492@sss.pgh.pa.us
Whole thread Raw
In response to GIN, XLogInsert and MarkBufferDirty  (Heikki Linnakangas <heikki@enterprisedb.com>)
Responses Re: GIN, XLogInsert and MarkBufferDirty  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> ... MarkBufferDirty needs to be called 
> before XLogInsert to avoid a race condition in checkpoint, see comments 
> in SyncOneBuffer in bufmgr.c for an explanation.

Right, see also the "Write-Ahead Log coding" section in
src/backend/access/transam/README (which is maybe not a very good place
for it, but it doesn't seem like bufmgr's turf either).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bernd Helmle
Date:
Subject: Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthat allows selection of
Next
From: Bernd Helmle
Date:
Subject: Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthat allows selection of