diff options
Diffstat (limited to 'src/interfaces/libpq++/examples/testlibpq1.cc')
| -rw-r--r-- | src/interfaces/libpq++/examples/testlibpq1.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq++/examples/testlibpq1.cc b/src/interfaces/libpq++/examples/testlibpq1.cc index ef63cf7077..53012f0cee 100644 --- a/src/interfaces/libpq++/examples/testlibpq1.cc +++ b/src/interfaces/libpq++/examples/testlibpq1.cc @@ -8,7 +8,7 @@ #include <iostream.h> #include <iomanip.h> -#include <libpq++.h> +#include <libpq++.H> int main() { @@ -16,7 +16,7 @@ int main() // When no parameters are given then the system will // try to use reasonable defaults by looking up environment variables // or, failing that, using hardwired constants - const char* dbName = "template1"; + const char* dbName = "dbname=template1"; PgDatabase data(dbName); // check to see that the backend connection was successfully made |
