aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-07-12 15:27:20 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-12 18:30:15 +0200
commite625e4211a28115075d75506ef3102601b4301f5 (patch)
tree032c4f39ab88647454b959836eddcdaa099f5101
parent05030f085ba2cc2f3df951ee454619bc236891a0 (diff)
Configure pgsql tests to use Unix-domain sockets by default
-rwxr-xr-xbuild/pgsql/configure10
1 files changed, 6 insertions, 4 deletions
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