Re: GIN, XLogInsert and MarkBufferDirty

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GIN, XLogInsert and MarkBufferDirty
Дата
Msg-id 17326.1181056492@sss.pgh.pa.us
обсуждение исходный текст
Ответ на GIN, XLogInsert and MarkBufferDirty  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: GIN, XLogInsert and MarkBufferDirty  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Bernd Helmle
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthat allows selection of
Следующее
От: Bernd Helmle
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Create a GUC parametertemp_tablespacesthat allows selection of