Re: Why does load_external_function() return PGFunction?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why does load_external_function() return PGFunction?
Дата
Msg-id 22383.1522092360@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why does load_external_function() return PGFunction?  (Andres Freund <andres@anarazel.de>)
Ответы Re: Why does load_external_function() return PGFunction?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2018-02-06 15:43:29 -0500, Tom Lane wrote:
>> void* isn't necessarily compatible with function pointers --- there are
>> platforms where they're physically different widths, though possibly
>> you'd never get PG to run on such hardware anyway.

> Btw, given that we store function pointers in datums, that ship has
> sailed a long while ago, no?

We do?  Data pointers, sure, but I can't think of any use of the other.

            regards, tom lane


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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: [HACKERS] PATCH: multivariate histograms and MCV lists
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: committing inside cursor loop