Re: [PATCH] Fix ProcKill lock-group vs procLatch recycle race

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Vlad Lesin <vladlesin@gmail.com>
Cc: Andrey Borodin <x4mmm@yandex-team.ru>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-05-18T03:15:36Z
Lists: pgsql-hackers
On Fri, May 15, 2026 at 03:29:30PM +0300, Vlad Lesin wrote:
> I moved the creation of injection_point_condition.h into a separate commit
> in 0001 patch.

Applied this one for now.  I still need to look at the rest in
details.

> Additionally, I noticed that if several processes are waiting
> on the same injection point, only one of them will be awakened by a single
> injection_points_wakeup() call. I am not sure if this behavior is
> intentional; please let me know.

Yep, I recall that as being intentional, hence I don't feel that 0002
is a good thing to do, even worse doing so in the back-branches.
--
Michael