diff options
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 |
