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

From Teodor Sigaev
Subject Re: GIN, XLogInsert and MarkBufferDirty
Date
Msg-id 46655C4B.7010600@sigaev.ru
Whole thread Raw
In response to GIN, XLogInsert and MarkBufferDirty  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
> with XLogInsert. That's not safe, MarkBufferDirty needs to be called 
> before XLogInsert to avoid a race condition in checkpoint, see comments 
> in SyncOneBuffer in bufmgr.c for an explanation.

Ugh, thank you fixed. It's a trace of misunderstood of WriteBuffer().
-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACHERS] privilege check: column level only?
Next
From: Andrew Dunstan
Date:
Subject: Re: [HACHERS] privilege check: column level only?