aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/pgsql.m44
-rw-r--r--pgsql-driver.bat4
-rw-r--r--pgsql.options2
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