Re: SetBufferCommitInfoNeedsSave and race conditions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SetBufferCommitInfoNeedsSave and race conditions
Дата
Msg-id 19267.1183058175@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SetBufferCommitInfoNeedsSave and race conditions  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: SetBufferCommitInfoNeedsSave and race conditions  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: SetBufferCommitInfoNeedsSave and race conditions  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> AFAICS, we can just simply remove the assertion. But is there any 
> codepaths that assume that after calling HeapTupleSatisfiesSnapshot, all 
> appropriate hint bits are set?

There had better not be, since we are going to postpone setting hint
bits for recently-committed transactions as part of the async-commit
patch.

A quick grep suggests that VACUUM FULL might be at risk here.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: write past chunk end in ExprContext / to_char
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: SetBufferCommitInfoNeedsSave and race conditions