Re: fmgr.h vs funcapi.h?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fmgr.h vs funcapi.h?
Дата
Msg-id 2026.1227283975@sss.pgh.pa.us
обсуждение исходный текст
Ответ на fmgr.h vs funcapi.h?  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: fmgr.h vs funcapi.h?  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> I was writing a simple standalone function compiled with pgxs - been a
> while since I did that.

> Including "postgres.h" and "fmgr.h", it didn't work - the backend would
> complain that the function did not exist in the shared library.
> Including "postgres.h" and "funcapi.h" *did* work - no complaints.

I can't recall ever having had to do that.  Can you show a complete
example (including the Makefile you're using)?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: TABLE command
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.