aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-07-24 19:42:29 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-24 19:42:29 +0200
commit92cdbe070aa7c78bc330c5b3d2cf00a7cf5f13a3 (patch)
treefcebd065154cfad23a9cf94fc3d5a9f87f094f40
parent49a3db4b58ce47f78662faf4aad1ea54fd804bdf (diff)
Correct invalid psql option from --user to --username
-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="