Re: Restore vacuum_delay_point() in GIN posting-tree leaf vacuum

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Paul Kim <mok03127(at)gmail(dot)com>
Cc: pgsql-hackers mailing list <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Restore vacuum_delay_point() in GIN posting-tree leaf vacuum
Date: 2026-07-20 10:45:31
Message-ID: 33B92CF3-4BD1-40C0-91AA-D7F96D136730@yandex-team.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 19 Jul 2026, at 19:27, Paul Kim <mok03127(at)gmail(dot)com> wrote:
>
> no CHECK_FOR_INTERRUPTS()

As far as I remember, we hold a cleanup lock on posting tree root.
We cannot process interrupts while holding a LWLock.

I'm afraid to fix this problem we need a real page deletion with
full fledged concurrency protocol as we do it in B-tree or GiST.

I've written a patch for this in 2018. I hope to return to this one day.

Best regards, Andrey Borodin.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Lawrence Barwick 2026-07-20 11:10:11 Re: [PATCH] Add pg_get_event_trigger_ddl() function
Previous Message Álvaro Herrera 2026-07-20 10:19:52 Re: Do not lock tables in get_tables_to_repack