libpqxx is a c++ wrapper on top of the c client library which gets installed
along with the database itself. So, the libpqxx functions call the c
functions, but provides an object oriented interface to those functions. For
example, there is a connection object, transaction object... The configure
script you run when preparing to compile libpqxx checks for (on this install)
/usr/local/lib/pgsql/libpq.so, and then links against -lpq
the download has good tests which are demo programs. They are compiled with
'make test'. I got pretty far with using the demos.
The documentation for libpqxx is sometimes a duplication of the postgresql C
documentation. Like, the connection constructor takes the same arguments, the
environment variables are the same, etc.
> Hi! Im just new to pgsql. I'm trying to use pqxx since the program that I'll
> be doing is in C++. I'm using Redhat Linux 9.0 and using KDevelop for
> programming. What do I need to do in order to get libxx working? (linking
> libraries, etc) I've already installed them but haven't tried integrating the
> database in my program yet. Do you have sample C++ programs that use libxx?
> Is the tutorial (html files) found in the pqxx package enough or should I
> also study the documentations found pgsql?
>
> Hope somebody can help me. I really need to get this working soon. Thanks!!
--
joe speigle
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|