Re: Proposal: Add a callback data parameter to GetNamedDSMSegment
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Zsolt Parragi <zsolt.parragi@percona.com>
Cc: Sami Imseih <samimseih@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-12-12T16:07:14Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow passing a pointer to GetNamedDSMSegment()'s init callback.
- 48d4a1423d2e 19 (unreleased) landed
-
Move dynamically-allocated LWLock tranche names to shared memory.
- 38b602b0289f 19 (unreleased) cited
On Fri, Dec 12, 2025 at 07:10:24AM +0000, Zsolt Parragi wrote: >> GetNamedDSA and GetNamedDSHash do not have a need for a callback, >> because there isn't custom initialization logic that can be applied there. > > The use case for GetNamedDSHash is: I'm going to stay focused on the GetNamedDSMSegment() argument for now, but would like to consider this (perhaps in a new thread) afterwards. -- nathan