From 8c6f77a8b0d499ce12322d6f4c67193b7d6f61c7 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 5 Jul 2011 19:59:34 +0200 Subject: Update PostgreSQL configuration script --- build/pgsql/configure | 15 +++++---------- 1 file 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 -- cgit v1.1