Craig Ringer <cr...@2ndquadrant.com> writes:
> On 18 October 2016 at 04:19, Andres Freund <and...@anarazel.de> wrote:
>> On 2016-10-17 16:16:37 -0400, Robert Haas wrote:
>>> I wouldn't think that cross-file references would be especially
>>> common. Functions that take PG_FUNCTION_ARGS and return Datum aren't
>>> a lot of fun to call from C. But maybe I'm wrong.
>> There's a fair number of DirectFunctionCall$Ns over the backend.
> It's only an issue if one contrib calls another contrib (or the core
> backend code calls into a contrib, but that's unlikely) via
> DirectFunctionCall .
No, it's cross *file* references within a single contrib module that
would be likely to need extern declarations in a header file. That's
not especially weird IMO. I'm not sure how many cases there actually
regards, tom lane
Sent via pgsql-hackers mailing list (firstname.lastname@example.org)
To make changes to your subscription: