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 4941e5e..ab580e2 100644
--- a/m4/pgsql.m4
+++ b/m4/pgsql.m4
@@ -154,8 +154,8 @@ AC_CONFIG_COMMANDS([pgsql.options],
echo '#! /bin/sh' >db-driver
if test x$pgsql_user_set = xyes; then
- echo "--user '$pgsql_user'" >>db.options
- echo 'opt="$opt --user='"$pgsql_user"'"' >>db-driver
+ echo "--username '$pgsql_user'" >>db.options
+ echo 'opt="$opt --username='"$pgsql_user"'"' >>db-driver
fi
if test x$pgsql_db_set = xyes; then
diff --git a/pgsql-driver.bat b/pgsql-driver.bat
index e87db4f..338d00d 100644
--- a/pgsql-driver.bat
+++ b/pgsql-driver.bat
@@ -17,7 +17,7 @@ set "options=%PGSQL_OPTIONS%"
rem This user must be able to login without specifying a password.
rem
-set "options=%options% --user=odb_test"
+set "options=%options% --username=odb_test"
set "options=%options% --dbname=odb_test"
rem set "options=%options% --host="