remove lock protection on HeapTupleSatisfiesVacuum

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема remove lock protection on HeapTupleSatisfiesVacuum
Дата
Msg-id Pine.LNX.4.58.0606052227580.862@eon.cs
обсуждение исходный текст
Ответы Re: remove lock protection on HeapTupleSatisfiesVacuum  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches

Attached is a patch to remove the lock protection for
HeapTupleSatisfiesVacuum() in index code. The basic idea is: if we can do
a pin/lock/unlock sequence on a page, then without locking again, we are
gauranteed that there is no vacuum process acting on the same page.
According to buffer pool access rule #4, we then can examine/change the
hints bit safely.

Regards,
Qingqing

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Allow commenting of variables in postgresql.conf to -
Следующее
От: Tom Lane
Дата:
Сообщение: Re: remove lock protection on HeapTupleSatisfiesVacuum