Re: Proposal: Add a callback data parameter to GetNamedDSMSegment

Поиск
Список
Период
Сортировка
От Sami Imseih
Тема Re: Proposal: Add a callback data parameter to GetNamedDSMSegment
Дата
Msg-id CAA5RZ0u33MRGh3Gk1ZV8z5p3oVb0jSxXr-ojee-n0rL7Brq1hA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposal: Add a callback data parameter to GetNamedDSMSegment  (Zsolt Parragi <zsolt.parragi@percona.com>)
Список pgsql-hackers
> 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)



В списке pgsql-hackers по дате отправления: