diff options
| author | Bruce Momjian <bruce@momjian.us> | 1999-05-23 01:04:07 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1999-05-23 01:04:07 +0000 |
| commit | b14c99d8d6bdb3155fe54e6f24e8aac32a09ed81 (patch) | |
| tree | 0b63fc00dfff28c643cfafe587777ab11e5733c5 /src/interfaces/libpq++/examples/testlibpq6.cc | |
| parent | 795f6ca66ab734559e6eed7a9466eb19b58f3166 (diff) | |
| download | postgresql-b14c99d8d6bdb3155fe54e6f24e8aac32a09ed81.tar.gz | |
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.
Diffstat (limited to 'src/interfaces/libpq++/examples/testlibpq6.cc')
| -rw-r--r-- | src/interfaces/libpq++/examples/testlibpq6.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq++/examples/testlibpq6.cc b/src/interfaces/libpq++/examples/testlibpq6.cc index 57be9c3fb0..1df83c9bf6 100644 --- a/src/interfaces/libpq++/examples/testlibpq6.cc +++ b/src/interfaces/libpq++/examples/testlibpq6.cc @@ -5,7 +5,7 @@ * */ #include <iostream.h> -#include <libpq++.h> +#include <libpq++.H> #include <stdlib.h> main() @@ -13,7 +13,7 @@ main() // Begin, by connecting to the backend using hardwired constants // and a test database created by the user prior to the invokation // of this test program. Connect using transaction interface. - char* dbName = getenv("USER"); // change this to the name of your test database + char* dbName = "dbname=template1"; PgTransaction data(dbName); // check to see that the backend connection was successfully made |
