libpq vs pqxx

Started by Seloua Selouaabout 20 years ago2 messagesgeneral
Jump to latest
#1Seloua Seloua
selouati@hotmail.com

Hello all,

I am writting a simple C++ program to access my postgresql 8.0 database.
What is the difference from using the interface of libpq versus the pqxx
librairy (use of PGconn, PGresult provided in the /usr/include/libpq-fe.h
file versus connection, result etc provided in the /usr/include/pqxx
directory)?

Thanks for your help!
Jana

_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has
to offer.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN� Premium right now and get the
first two months FREE*.

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Seloua Seloua (#1)
Re: libpq vs pqxx

Seloua Seloua wrote:

I am writting a simple C++ program to access my postgresql 8.0
database. What is the difference from using the interface of libpq
versus the pqxx librairy (use of PGconn, PGresult provided in the
/usr/include/libpq-fe.h file versus connection, result etc provided
in the /usr/include/pqxx directory)?

They are similar in that they are programming interfaces to access
PostgreSQL databases, but other than that they are completely
different.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/