"Craig A. James" <[EMAIL PROTECTED]> writes:
> I'm creating user-defined server extensions, written in C per the
> manual "31.9. C-Language Functions".  Everything works well, but only
> if I fully link the .so such that there are *no* unresolved external
> references at all.  Not even the stuff in libstdc++.a can be left out.

If you're using libstdc++.a, you are not writing C.  There is no support
for C++ in the backend, and I would strongly advise not trying to use
it, as any of C++'s moderately interesting features like exceptions will
not play nicely with the backend environment.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to