aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-07-05 19:59:34 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-08 14:18:46 +0200
commit8c6f77a8b0d499ce12322d6f4c67193b7d6f61c7 (patch)
treec47faaa68db2c8132c2c34c0605326b846690cc4
parentde602975ce7b652c620b7888cf8ba2e59c6709f0 (diff)
Update PostgreSQL configuration script
-rwxr-xr-xbuild/pgsql/configure15
1 files changed, 5 insertions, 10 deletions
diff --git a/build/pgsql/configure b/build/pgsql/configure
index cd500a2..990472d 100755
--- a/build/pgsql/configure
+++ b/build/pgsql/configure
@@ -16,18 +16,14 @@ $echo
driver=`read_path --command psql`
$echo
-$echo "Please enter the PostgreSQL database user."
+$echo "Please enter the PostgreSQL database user. Note that the named"
+$echo "user must be allowed to connect to the database server without"
+$echo "specifying credentials."
$echo
user=`read_value "odb_test"`
$echo
-$echo "Please enter the PostgreSQL database password."
-$echo
-
-passwd=`read_value ""`
-
-$echo
$echo "Please enter the PostgreSQL database name. Note that it WILL BE"
$echo "MODIFIED by the tests."
$echo
@@ -38,20 +34,19 @@ $echo
$echo "Please enter the PostgreSQL database host."
$echo
-host=`read_value ""`
+host=`read_value "localhost"`
$echo
$echo "Please enter the PostgreSQL database port or the socket file name"
$echo "extension for Unix-domain connections."
$echo
-port=`read_value "0"`
+port=`read_value "5432"`
opt=$dcf_root/db.options
drv=$dcf_root/db-driver
echo "--user '$user'" >$opt
-echo "--password '$passwd'" >>$opt
echo "--dbname '$db'" >>$opt
echo "--host '$host'" >>$opt
echo "--port $port" >>$opt