Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: libpq vs pqxx


  • From: Peter Eisentraut <peter_e(at)gmx(dot)net>
  • To: pgsql-general(at)postgresql(dot)org
  • Cc: "Seloua Seloua" <selouati(at)hotmail(dot)com>
  • Subject: Re: libpq vs pqxx
  • Date: Fri, 24 Mar 2006 21:08:34 +0100
  • Message-id: <200603242108(dot)34479(dot)peter_e(at)gmx(dot)net>

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/



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group