aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-07-23 21:13:59 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-23 21:13:59 +0200
commit88ddb093213111e35373806cfd360b7db5176858 (patch)
tree1915bece3145a09c391c091c0e653c69e4431122
parente5cc731b88d46b66973a658dc4861edc9c672781 (diff)
Correct psql option from --database to --dbname
-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"