Re: Add PGDLLEXPORT to PG_FUNCTION_INFO_V1
От | Tom Lane |
---|---|
Тема | Re: Add PGDLLEXPORT to PG_FUNCTION_INFO_V1 |
Дата | |
Msg-id | 979.1476802684@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Add PGDLLEXPORT to PG_FUNCTION_INFO_V1 (Craig Ringer <craig@2ndquadrant.com>) |
Ответы |
Re: Add PGDLLEXPORT to PG_FUNCTION_INFO_V1
Re: Add PGDLLEXPORT to PG_FUNCTION_INFO_V1 |
Список | pgsql-hackers |
Craig Ringer <craig@2ndquadrant.com> writes: > On 18 October 2016 at 04:19, Andres Freund <andres@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 are though. regards, tom lane
В списке pgsql-hackers по дате отправления: