| From: | Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Another WaitEventSet resource leakage in back branches |
| Date: | 2024-03-22 12:15:45 |
| Message-ID: | CAPmGK16MqdDoD8oatp8SQWaEa4vS3nfQqDN_Sj9YRuu5J3Lj9g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| Attachment | Content-Type | Size |
|---|---|---|
| fix-another-WaitEventSet-resource-leakage.patch | application/octet-stream | 2.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ajin Cherian | 2024-03-22 12:24:43 | Re: Introduce XID age and inactive timeout based replication slot invalidation |
| Previous Message | Andrew Dunstan | 2024-03-22 12:10:27 | Re: Regression tests fail with musl libc because libpq.so can't be loaded |