Re: hio.c does visibilitymap_pin()/IO while holding buffer lock

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: hio.c does visibilitymap_pin()/IO while holding buffer lock
Дата
Msg-id 20230407010344.2b2owzwqmtmdrjij@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: hio.c does visibilitymap_pin()/IO while holding buffer lock  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

On 2023-04-03 12:00:30 -0700, Andres Freund wrote:
> It's not great, I agree. I tried to make it easier to read in this version by
> a) changing GetVisibilityMapPins() as I proposed
> b) added a new variable "recheckVmPins", that gets set in
>    if (unlockedTargetBuffer)
>    and
>    if (otherBuffer != InvalidBuffer)
> c) reformulated comments

I pushed this version a couple hours ago, after a bit more polishing.

Greetings,

Andres Freund



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Option to not use ringbuffer in VACUUM, using it in failsafe mode
Следующее
От: Andres Freund
Дата:
Сообщение: Re: refactoring relation extension and BufferAlloc(), faster COPY