Re: Why does load_external_function() return PGFunction?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Why does load_external_function() return PGFunction?
Дата
Msg-id 20180326200554.jwkpv23wt2h6ndcl@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Why does load_external_function() return PGFunction?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2018-03-26 15:26:00 -0400, Tom Lane wrote:
> 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.

It seems I've misremembered. For some reason I was quite certain that
the resowner callback facility, dynamic bgworkers, and fdws did so,
but...

Greetings,

Andres Freund


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

Предыдущее
От: Damir Simunic
Дата:
Сообщение: Re: Proposal: http2 wire format
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Online enabling of checksums