On Fri, Mar 22, 2024 at 9:15 PM Etsuro Fujita <etsuro.fuj...@gmail.com> wrote:
> While working on [1], I noticed $SUBJECT: WaitLatchOrSocket in back
> branches is ignoring the possibility of failing partway through, too.
> I added a PG_FAINALLY block to that function, like commit 555276f85.
> Patch attached.

I noticed that PG_FAINALLY was added in v13.  I created a separate
patch for v12 using PG_CATCH instead.  Patch attached.  I am attaching
the previous patch for later versions as well.

I am planning to back-patch these next week.

Best regards,
Etsuro Fujita

Attachment: fix-another-WaitEventSet-resource-leakage.patch
Description: Binary data

Attachment: fix-another-WaitEventSet-resource-leakage-PG12.patch
Description: Binary data

Reply via email to