Re: [Bug Report + Patch] File descriptor leak when io_method=io_uring
Lucas DRAESCHER <git@draescher.fr>
From: Lucas DRAESCHER <git@draescher.fr>
To: cca5507 <cca5507@qq.com>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2026-03-27T16:57:42Z
Lists: pgsql-hackers
Attachments
- v2-0001-Release-io_uring-resources-on-shmem-exit.patch (text/x-patch) patch v2-0001
Hi ChangAo, Thanks for the review! I've attached v2, which adds a shmem_cleanup callback to IoMethodOps, registered in AioShmemInit(). Like you, I don't know which approach I prefer since the new callback currently has only one implementor. If no other IO method is expected to need cleanup, the simpler v1 approach may be preferable. Happy to hear your thoughts. I've also added this patch to the commitfest app: https://commitfest.postgresql.org/patch/6617/ Regards, Lucas.
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix LATERAL references in GRAPH_TABLE with multi-label pattern
- 4cb2a9863d89 19 (unreleased) cited