From e625e4211a28115075d75506ef3102601b4301f5 Mon Sep 17 00:00:00 2001
From: Constantin Michael <constantin@codesynthesis.com>
Date: Tue, 12 Jul 2011 15:27:20 +0200
Subject: Configure pgsql tests to use Unix-domain sockets by default

---
 build/pgsql/configure | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'build')

diff --git a/build/pgsql/configure b/build/pgsql/configure
index 990472d..31edb53 100755
--- a/build/pgsql/configure
+++ b/build/pgsql/configure
@@ -31,17 +31,19 @@ $echo
 db=`read_value "odb_test"`
 
 $echo
-$echo "Please enter the PostgreSQL database host."
-$echo
+$echo "Please enter the PostgreSQL database host. Leaving this field"
+$echo "results in connecting to a Unix-domain socket using the server's"
+$echo "default location, usually /tmp. Machines without Unix-domain"
+$echo "sockets will connect to localhost."
 
-host=`read_value "localhost"`
+host=`read_value ""`
 
 $echo
 $echo "Please enter the PostgreSQL database port or the socket file name"
 $echo "extension for Unix-domain connections."
 $echo
 
-port=`read_value "5432"`
+port=`read_value ""`
 
 opt=$dcf_root/db.options
 drv=$dcf_root/db-driver
-- 
cgit v1.1