Re: Help with adding C-Language Functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Help with adding C-Language Functions
Дата
Msg-id 4724.1108082132@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Help with adding C-Language Functions  (Seamus Thomas Carroll <carrolls@cpsc.ucalgary.ca>)
Список pgsql-interfaces
Seamus Thomas Carroll <carrolls@cpsc.ucalgary.ca> writes:
> It compiles but when i try the LOAD command i get the following error:
> ERROR:  could not load library "/home/grads/.../BlackboardFunctions.so": 
> /home/grads/.../BlackboardFunctions.so: undefined symbol: _Z16pg_detoast_datumP7varlena

extern "C" { ... } around all the Postgres include files, too, no doubt.
You might wish to go and read some information about connecting C and C++,
since you've obviously never done it before ;-)
        regards, tom lane


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

Предыдущее
От: Seamus Thomas Carroll
Дата:
Сообщение: Re: Help with adding C-Language Functions
Следующее
От: "Guy Rouillier"
Дата:
Сообщение: Pgsql conditions do not short circuit?