Zhenchang Xing <xing@cs.ualberta.ca> writes:
> The documentation says: User-defined functions can be written in C (or a
> language that can be made compatible with C, such as C++). So I suppose it
> should be ok to use STL or things like Boost Graph Library in server-side
> C functions, right?
I doubt it will work. The backend is C and does not include the C++
library. You could try dynamically loading the C++ library but it seems
quite unlikely that global behavior (like exception trapping) would work
correctly.
regards, tom lane