Re: [PATCH] Fix vacuum_delay_point happening inside lock - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: [PATCH] Fix vacuum_delay_point happening inside lock
Date
Msg-id 9498CDDE-E9A3-430B-B705-065888CA5938@yandex-team.ru
Whole thread
In response to Re: [PATCH] Fix vacuum_delay_point happening inside lock  (Andrey Borodin <x4mmm@yandex-team.ru>)
Responses Re: Deadlock detector fails to activate on a hot standby replica
Re: [PATCH] Fix vacuum_delay_point happening inside lock
List pgsql-hackers

> On 10 Aug 2026, at 04:53, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> I wonder if we could enforce (via an Assert) that vacuum_delay_point
> is only called from places where an interrupt can be accepted?

I'd say even sleeping with LWLock is not a very good idea.


Best regards, Andrey Borodin.



Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: btoidsortsupport issue
Next
From: Peter Smith
Date:
Subject: Re: A new C function `get_partition_root`.