Thread: how to

how to

From
"brajesh"
Date:
How can i connect to postgres database from c++ code.
i know there is "libpq-fe".
but what about from windows?

_________________________________________________
email: brajesh@sumasoft.net
Brajesh L. Singh
Sumasoft Pvt. Ltd.
opp. to Himali Society
Near Mangeshkar Hospital
Erendvana
Pune 411004
Phone : 91-20-5446724





Re: how to

From
"Jeroen T. Vermeulen"
Date:
On Thu, Jan 30, 2003 at 07:17:55PM +0530, brajesh wrote:
> 
> How can i connect to postgres database from c++ code.
> i know there is "libpq-fe".
> but what about from windows?

Well, libpq is a C library so you can also call it from C++; it
works with Windows AFAIK.

Then there's libpq++, the old C++ frontend, and if you've got a
fairly modern compiler, there's the newer libpqxx.  Both are on
GBorg.


Jeroen