Hi Álvaro,
On Wed, Jan 14, 2026 at 10:56 PM Amit Langote <amitlangote09(at)gmail(dot)com> wrote:
> On Wed, Jan 14, 2026 at 6:36 PM Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote
> > I would add an Assert(num_held_lwlocks == 0) at the
> > end of LWLockReleaseAll(), to make it clear that it's idempotent (which
> > is important for the case where ProcKill will call it again shortly
> > after).
>
> Makes sense. Will do.
Done and pushed. I struggled to write a comment to describe the Assert though.
--
Thanks, Amit Langote