Tom Lane wrote:
My concern about how nicely libstdc++ will play in the backend environment still stands though.
I have had the same concern, though never any hard evidence of a problem. If the C++ functions are wrapped with "extern C", and all exceptions caught (perhaps converted into error numbers which are then returned from the wrapper functions to the plain-C calling functions), are there any remaining known problems? I have often considered making a C++ allocator which wrapped palloc and pfree, so that I could then use the STL within the backend...
Has anyone tried this? mark ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq