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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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