Re: Proposal: Add a callback data parameter to GetNamedDSMSegment - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Proposal: Add a callback data parameter to GetNamedDSMSegment
Date
Msg-id aTCm6-piZ-Q_qub_@nathan
Whole thread Raw
In response to Re: Proposal: Add a callback data parameter to GetNamedDSMSegment  (Sami Imseih <samimseih@gmail.com>)
Responses Re: Proposal: Add a callback data parameter to GetNamedDSMSegment
List pgsql-hackers
On Wed, Dec 03, 2025 at 02:59:16PM -0600, Sami Imseih wrote:
> Yes, that's true. It will be hard to find other good use-cases that
> can't be solved with a global variable, but we can also say this is
> a low-cost change, so why not just do it.

Well, for one, it requires all existing extensions that use
GetNamedDSMSegment() to be updated.  That might not be too terrible, but in
any case, I think we need a stronger reason than the simplicity of the
implementation to do something.

-- 
nathan



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Next
From: Peter Geoghegan
Date:
Subject: Re: Removing BTScanPosUnpinIfPinned idiom from nbtree, simplifying mark/restore support