diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-07-23 21:01:11 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-07-23 21:01:11 +0200 |
commit | 9273c36d6afb84cd56544761afa0dd52e1f3b653 (patch) | |
tree | a84ac1396a1d3ee150060c650a6c5cd7d294732b | |
parent | 9ec2dfce93ff2df58732b556f477595b2ce00682 (diff) |
Correct psql option
-rw-r--r-- | m4/pgsql.m4 | 4 | ||||
-rw-r--r-- | pgsql-driver.bat | 2 |
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" |