fmgr.h vs funcapi.h?

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема fmgr.h vs funcapi.h?
Дата
Msg-id 4926D510.2030104@hagander.net
обсуждение исходный текст
Ответы Re: fmgr.h vs funcapi.h?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.

From what I can find in the docs, fmgr.h is the one to use as long as
you don't need to do set returning functions (mine is a simpe
int-returning function).

Docs issue, code issue, or Magnus-issue?

//Magnus


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1197)
Следующее
От: Emmanuel Cecchet
Дата:
Сообщение: Re: Transactions and temp tables