Re: User Defined C Function with minGW

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: User Defined C Function with minGW
Дата
Msg-id 20080504111655.GB5836@svana.org
обсуждение исходный текст
Ответ на User Defined C Function with minGW  ("Nathan Thatcher" <n8thatcher@gmail.com>)
Список pgsql-general
On Fri, May 02, 2008 at 09:34:31AM -0600, Nathan Thatcher wrote:
> Other people have said that pg_detoast_datum is a backend function and
> shouldn't be referenced at all, but it is right there in fmgr.h which
> is obviously required for creating functions under the V1 calling
> convention.

You usually get these kinds of error if you try to compile the code
into an executable, since then all symbols need to be resolved. You
need to link it as a shared object, where this isn't required. I think
you might need some kind of import DLL of something like that?

Have a nice day.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

Вложения

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: How to modify ENUM datatypes?
Следующее
От: Hannes Dorbath
Дата:
Сообщение: SQL window functions