Re: injection_points: canceled or terminated waiters leak their wait slots

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: injection_points: canceled or terminated waiters leak their wait slots
Date: 2026-07-22 06:28:56
Message-ID: amBjKAJLyPR5hdlE@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jul 21, 2026 at 11:07:01PM -0700, Zsolt Parragi wrote:
> Wouldn't that miss FATAL? (pg_terminate_backend in the testcase)

Arf. I've forgotten that elog.h documents that. Thanks.

> I can implement that if you think it is better, my initial logic was
> to keep the fix smaller and strictly a bugfix.

Minimal sounds good here. I'll make something happen after
double-checking what you have sent.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Hayato Kuroda (Fujitsu) 2026-07-22 06:28:18 RE: sequencesync worker race with REFRESH SEQUENCES