Skip site navigation (1) Skip section navigation (2)

Re: GIN, XLogInsert and MarkBufferDirty

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: teodor(at)postgresql(dot)org, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GIN, XLogInsert and MarkBufferDirty
Date: 2007-06-05 12:51:23
Message-ID: 46655C4B.7010600@sigaev.ru (view raw or flat)
Thread:
Lists: 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(at)sigaev(dot)ru
                                                    WWW: http://www.sigaev.ru/

In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2007-06-05 13:56:45
Subject: Re: [HACHERS] privilege check: column level only?
Previous:From: Heikki LinnakangasDate: 2007-06-05 12:09:40
Subject: GIN, XLogInsert and MarkBufferDirty

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group