From 7ce4326acc1580f5d02ef5c54656364aa50b3494 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Fri, 22 Jul 2011 17:30:40 +0200 Subject: Include messages regarding trusted test database user in automake messages --- m4/pgsql.m4 | 4 ++-- pgsql-driver.bat | 4 ++++ pgsql.options | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/m4/pgsql.m4 b/m4/pgsql.m4 index 2a488ec..b050ce1 100644 --- a/m4/pgsql.m4 +++ b/m4/pgsql.m4 @@ -41,7 +41,7 @@ fi AC_MSG_CHECKING([for pgsql database user]) AC_ARG_WITH( [pgsql-user], - [AC_HELP_STRING([--with-pgsql-user=login], [PostgreSQL database user (odb_test by default)])], + [AC_HELP_STRING([--with-pgsql-user=login], [PostgreSQL database user (odb_test by default). The user must be able to login without specifying a password.])], [case $withval in yes) pgsql_user=odb_test @@ -97,7 +97,7 @@ fi AC_MSG_CHECKING([for pgsql database host]) AC_ARG_WITH( [pgsql-host], - [AC_HELP_STRING([--with-pgsql-host=host], [PostgreSQL database host (standard PostgreSQL host by default)])], + [AC_HELP_STRING([--with-pgsql-host=host], [PostgreSQL database host (localhost by default)])], [case $withval in yes) pgsql_host= diff --git a/pgsql-driver.bat b/pgsql-driver.bat index 821a17e..8851e69 100644 --- a/pgsql-driver.bat +++ b/pgsql-driver.bat @@ -14,7 +14,11 @@ rem setlocal 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% --database=odb_test" rem set "options=%options% --host=" rem set "options=%options% --post=" diff --git a/pgsql.options b/pgsql.options index 355b64c..841de56 100644 --- a/pgsql.options +++ b/pgsql.options @@ -2,6 +2,8 @@ # match your PostgreSQL setup. # +# This use must be able to login without specifying a password. +# --user odb_test --database odb_test # --host -- cgit v1.1