Re: [INTERFACES] using c++ for functions - Mailing list pgsql-interfaces

From Thomas G. Lockhart
Subject Re: [INTERFACES] using c++ for functions
Date
Msg-id 35AA1EAF.3021277B@apop-server.alumni.caltech.edu
Whole thread Raw
In response to using c++ for functions  (David GROSS <David.Gross@wanadoo.fr>)
List 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 by date:

Previous
From: JohnDz
Date:
Subject: Re: [INTERFACES] Character mode forms designer
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] atttypmod now 32 bits, interface change