> 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 Dunstan | Date: 2007-06-05 13:56:45 |
| Subject: Re: [HACHERS] privilege check: column level only? |
| Previous: | From: Heikki Linnakangas | Date: 2007-06-05 12:09:40 |
| Subject: GIN, XLogInsert and MarkBufferDirty |