Re: Pass heaprel to GlobalVisTestFor() in vacuumRedirectAndPlaceholder()

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Pass heaprel to GlobalVisTestFor() in vacuumRedirectAndPlaceholder()
Дата
Msg-id CAH2-Wz=eKLCO6vafTtM6QT=CSWAxA51ZtJors6MjfZukyXmRUg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Pass heaprel to GlobalVisTestFor() in vacuumRedirectAndPlaceholder()  (Peter Geoghegan <pg@bowt.ie>)
Ответы Re: Pass heaprel to GlobalVisTestFor() in vacuumRedirectAndPlaceholder()  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Sun, Apr 2, 2023 at 10:18 AM Peter Geoghegan <pg@bowt.ie> wrote:
> Making nbtree page deletion more efficient when logical decoding is in
> use seems well worthwhile. There is an "XXX" comment about this issue,
> similar to the SP-GiST one. It looks like you already have everything
> you need to make this work from yesterday's commit 61b313e47e.

Actually, I suppose that isn't quite true, since you'd still need to
find a way to pass the heap relation down to nbtree VACUUM. Say by
adding it to IndexVacuumInfo.

That doesn't seem hard at all. The hard part was passing the heap rel
down to _bt_getbuf(), which you've already taken care of.

--
Peter Geoghegan



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Pass heaprel to GlobalVisTestFor() in vacuumRedirectAndPlaceholder()
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Add "host" to startup packet