From b14c99d8d6bdb3155fe54e6f24e8aac32a09ed81 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 23 May 1999 01:04:07 +0000 Subject: Here it is. Remove or rename the current interfaces/libpq++ and untar this file in interfaces/ It will all need to be checked in. I used the char *rcsid[] method for cvs ids so it can be strings | grep'd to find version numbers. The new version for the library is 3.0. Run configure from src/ to create the Makefile and it should be good to go. I did minimal documentation references in the README, I'll see if I can get something to Tom Lockhart rather quickly. Vince. --- src/interfaces/libpq++/examples/testlibpq3.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interfaces/libpq++/examples/testlibpq3.cc') diff --git a/src/interfaces/libpq++/examples/testlibpq3.cc b/src/interfaces/libpq++/examples/testlibpq3.cc index 3c4e6ec429..924c0c565c 100644 --- a/src/interfaces/libpq++/examples/testlibpq3.cc +++ b/src/interfaces/libpq++/examples/testlibpq3.cc @@ -9,7 +9,7 @@ #include #include -#include +#include int main() { @@ -19,7 +19,7 @@ int main() // or, failing that, using hardwired constants. // Create a cursor database query object. // All queries using cursor will be performed through this object. - const char* dbName = "template1"; + const char* dbName = "dbname=template1"; PgCursor cData(dbName, "myportal"); // check to see that the backend connection was successfully made -- cgit v1.2.1