aboutsummaryrefslogtreecommitdiff
path: root/m4
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 /m4
parente5cc731b88d46b66973a658dc4861edc9c672781 (diff)
Correct psql option from --database to --dbname
Diffstat (limited to 'm4')
-rw-r--r--m4/pgsql.m44
1 files changed, 2 insertions, 2 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