> On a slightly related topic, I mentioned earlier that I found 3
> extensions using GetNamedDSMSegment. One of them,
> pg_track_optimizer[1] could use the new GetNamedDSHash function,
> except that it doesn't provide a callback similar to what we have in
> c, and it relies on initializing the hash in the
> callback, before it returns. That's not possible with the new
> function.
>
> What do you think, would it make sense to also include callbacks for
> GetNamedDSHash and GetNamedDSA?
>
> [1]: https://github.com/danolivo/pg_track_optimizer/
GetNamedDSA and GetNamedDSHash do not have a need for a callback,
because there isn't custom initialization logic that can be applied there.
--
Sami Imseih
Amazon Web Services (AWS)