Hi Álvaro,

On Wed, Jan 14, 2026 at 10:56 PM Amit Langote <[email protected]> wrote:
> On Wed, Jan 14, 2026 at 6:36 PM Álvaro Herrera <[email protected]> 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


Reply via email to