Re: pgsql function using C++?, or at least C interfacing with C++ lib? - Mailing list pgsql-general

From Tom Lane
Subject Re: pgsql function using C++?, or at least C interfacing with C++ lib?
Date
Msg-id 4582.1097985418@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql function using C++?, or at least C interfacing with C++ lib?  ("Dann Corbit" <DCorbit@connx.com>)
List pgsql-general
"Dann Corbit" <DCorbit@connx.com> writes:
>> I've got a C++ library I need to use, and I want to use
>> it from a pgsql function.

> If you want to do this, publish an interface in your C++ library with
> the interface functions declared as extern "C"

Note that the backend does not incorporate any C++ library support,
which is rather a severe handicap.  For instance it will probably
not work to use catch/throw constructs.

            regards, tom lane

pgsql-general by date:

Previous
From: Mike Nolan
Date:
Subject: Re: dealing with invalid date
Next
From: "Scott Marlowe"
Date:
Subject: Re: dealing with invalid date