Re: Why does load_external_function() return PGFunction? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Why does load_external_function() return PGFunction?
Date
Msg-id 22383.1522092360@sss.pgh.pa.us
Whole thread Raw
In response to Re: Why does load_external_function() return PGFunction?  (Andres Freund <andres@anarazel.de>)
Responses Re: Why does load_external_function() return PGFunction?
List 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 by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] PATCH: multivariate histograms and MCV lists
Next
From: Peter Eisentraut
Date:
Subject: Re: committing inside cursor loop