aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/pgsql.m44
-rw-r--r--pgsql-driver.bat2
2 files changed, 3 insertions, 3 deletions
diff --git a/m4/pgsql.m4 b/m4/pgsql.m4
index b050ce1..f9e0a8e 100644
--- a/m4/pgsql.m4
+++ b/m4/pgsql.m4
@@ -159,8 +159,8 @@ AC_CONFIG_COMMANDS([pgsql.options],
fi
if test x$pgsql_db_set = xyes; then
- echo "--database '$pgsql_db'" >>db.options
- echo 'opt="$opt --database='"$pgsql_db"'"' >>db-driver
+ echo "--dbname '$pgsql_db'" >>db.options
+ echo 'opt="$opt --dbname='"$pgsql_db"'"' >>db-driver
fi
if test x$pgsql_host_set = xyes; then
diff --git a/pgsql-driver.bat b/pgsql-driver.bat
index aa58dc9..40cfedf 100644
--- a/pgsql-driver.bat
+++ b/pgsql-driver.bat
@@ -19,7 +19,7 @@ rem This user must be able to login without specifying a password.
rem
set "options=%options% --user=odb_test"
-set "options=%options% --database=odb_test"
+set "options=%options% --dbname=odb_test"
rem set "options=%options% --host="
rem set "options=%options% --post="
set "options=%options% --quiet"