mlw [mailto:pgsql@mohawksoft.com] wrote:
> I use PostgreSQL with C++ all the time. I actually have a SQL class
that
> abstracts libpq and ODBC, so I'm pretty much past a lot of the "how I
> want to use it" stuff.

What about libpq++? I have not used the thing, but if he absolutely
insists on using C++ in his database interface that's at least worth
checking out.  Same for embedded C.

I often use the zeos toolkit for postgres, which works with C++ Builder,
Delphi, and Kylix.  If you use those tools I can vouch that they are a
good way to write apps with postgres.  The zeos connection toolkit is an
order of magnitude faster than pgodbc.


For tight oo integration with the database, I would take either Java or
(if you hail from *nix and can deal with mono) C#.

Merlin

Fri, 7 Mar 2003 12:14:30 -0500
"Merlin Moncure" <merlin.moncure@rcsonline.com>
Re: talking to postgresql from C/C++
On Fri, Mar 07, 2003 at 12:14:30PM -0500, Merlin Moncure wrote:
> 
> What about libpq++? I have not used the thing, but if he absolutely
> insists on using C++ in his database interface that's at least worth
> checking out.  Same for embedded C.
 
And of course there's libpqxx.  I haven't heard from anyone who's tried
it on Borland C++ Builder yet, but I'd love to.  It is known to work on
several other compilers, so why not?  It's a lot more useful than the
old libpq++ IMHO.

See http://pqxx.tk/


Jeroen


Fri, 7 Mar 2003 18:28:06 +0100
"Jeroen T. Vermeulen" <jtv@xs4all.nl>
Re: talking to postgresql from C/C++