Hi, On Wed, Oct 28, 2026 at 4:53 PM Zsolt Parragi <[email protected]> wrote: > > On Wed, 28 Oct 2026, Bharath Rupireddy > <[email protected]> wrote: > > Yeah, that's a good point. parallel_vacuum_bulkdel_all_indexes() can > > return whether the failsafe was hit by either the leader or any of the > > workers. Would something like the below work for you? > > yes, that looks good to me.
Thanks. I still think it's better for parallel_vacuum_bulkdel_all_indexes() to return whether it processed all the indexes or some. Although I'm a bit worried that changing the return type of the function could impact anyone reusing parallel vacuum code from the core, this is not a complex change to adopt. So, I did that in the attached v3 patch. Please have a look. -- Bharath Rupireddy Amazon Web Services: https://aws.amazon.com
v3-0001-Check-XID-wraparound-failsafe-between-indexes-in-.patch
Description: Binary data
