Re: [INTERFACES] using c++ for functions

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [INTERFACES] using c++ for functions
Дата
Msg-id 35AA1EAF.3021277B@apop-server.alumni.caltech.edu
обсуждение исходный текст
Ответ на using c++ for functions  (David GROSS <David.Gross@wanadoo.fr>)
Список pgsql-interfaces
>     I would like to know if it is possible to use C++ code
> to define new functions in Postgres...
> It works very well for C functions, but with C++ (on unix/linux
> systems), postgres can't find the function in the symbol table.

I don't know for sure, but I would suspect that C++ name mangling (or
something related) might be getting in the way. Have you looked at the
shared library with "nm" to see what the symbols actually are?

                     - Tom

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

Предыдущее
От: JohnDz
Дата:
Сообщение: Re: [INTERFACES] Character mode forms designer
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] atttypmod now 32 bits, interface change