aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-07-24 19:35:23 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-24 19:35:23 +0200
commitf341a3fd9c38e4e43a0fc792f382447965d6ce83 (patch)
treee0c9e1606216fa0790bc07518afab6fc07043788
parentbd9f8b9a58b14a2a178632917bba0dbf5db0b51a (diff)
Correct psql option from --user to --username
-rw-r--r--m4/pgsql.m44
-rw-r--r--pgsql-driver.bat4
2 files changed, 4 insertions, 4 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 40cfedf..338d00d 100644
--- a/pgsql-driver.bat
+++ b/pgsql-driver.bat
@@ -17,11 +17,11 @@ 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="
-rem set "options=%options% --post="
+rem set "options=%options% --port="
set "options=%options% --quiet"
set "PGOPTIONS=--client-min-messages=warning"