Another WaitEventSet resource leakage in back branches - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Another WaitEventSet resource leakage in back branches
Date
Msg-id CAPmGK16MqdDoD8oatp8SQWaEa4vS3nfQqDN_Sj9YRuu5J3Lj9g@mail.gmail.com
Whole thread Raw
Responses Re: Another WaitEventSet resource leakage in back branches
Re: Another WaitEventSet resource leakage in back branches
List pgsql-hackers
Hi,

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.

Best regards,
Etsuro Fujita

[1] https://www.postgresql.org/message-id/CAPmGK15DF6EE7O6hTLbe5-fHvPDwEx9vm-BOCN3dsKOjZCo7bw%40mail.gmail.com

Attachment

pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: ExecAppendAsyncEventWait() in REL_14_STABLE can corrupt PG_exception_stack
Next
From: Ajin Cherian
Date:
Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation