diff options
Diffstat (limited to 'src/interfaces/libpq++/examples/testlibpq4.cc')
-rw-r--r-- | src/interfaces/libpq++/examples/testlibpq4.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq++/examples/testlibpq4.cc b/src/interfaces/libpq++/examples/testlibpq4.cc index a1b21d33a9d..7803f338c95 100644 --- a/src/interfaces/libpq++/examples/testlibpq4.cc +++ b/src/interfaces/libpq++/examples/testlibpq4.cc @@ -19,7 +19,7 @@ INSERT INTO TBL1 values (10); * */ #include <iostream.h> -#include <libpq++.h> +#include <libpq++.H> #include <stdlib.h> main() @@ -27,7 +27,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. - char* dbName = getenv("USER"); // change this to the name of your test database + char* dbName = "dbname=template1"; PgDatabase data(dbName); // Check to see that the backend connection was successfully made |