On Sat, 07 Nov 2026, Xuneng Zhou <[email protected]> wrote:
> In theory, there seems to be a PID reuse race between finding the workers
> and sending the signal. But this risk is accepted and considered as too
> rare in practice to bother in pg_signal_backend() and
> terminateOtherDBBackends().

Yes, that's why I went with the interrupted flag. I can attach a
version that terminates them directly instead, if that is acceptable.
My logic was that if this gets committed before the 19 release, the
additional flag shouldn't be an issue and it's a better solution.

> Do we need to add it to the open issue list though it might already be on
> Michael's radar?

I included Michael in the thread, but yes, I think it's also a good
idea to add it there.


Reply via email to