Re: Pass heaprel to GlobalVisTestFor() in vacuumRedirectAndPlaceholder() - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Pass heaprel to GlobalVisTestFor() in vacuumRedirectAndPlaceholder()
Date
Msg-id CAH2-WzkaiDxCje0yPuH=3Uh2p1V_2pFGY==xfbZoZu7Ax_NB8g@mail.gmail.com
Whole thread Raw
In response to Pass heaprel to GlobalVisTestFor() in vacuumRedirectAndPlaceholder()  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Responses Re: Pass heaprel to GlobalVisTestFor() in vacuumRedirectAndPlaceholder()
List pgsql-hackers
On Sun, Apr 2, 2023 at 1:25 AM Drouvot, Bertrand
<bertranddrouvot.pg@gmail.com> wrote:
> now that the heap relation is passed down to vacuumRedirectAndPlaceholder()
> thanks to 61b313e47e, we can also pass it down to GlobalVisTestFor() too (to
> allow more pruning).

What about BTPageIsRecyclable() and _bt_pendingfsm_finalize()?

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.

--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: regression coverage gaps for gist and hash indexes
Next
From: Peter Geoghegan
Date:
Subject: Re: Pass heaprel to GlobalVisTestFor() in vacuumRedirectAndPlaceholder()