diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-10-24 22:09:33 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-10-24 22:09:33 +0000 |
commit | 549a4bd6fec0994385560ca55cfdf07af94a2ace (patch) | |
tree | 957d0cfa06d592101725006b953599df2e0da283 | |
parent | 39fccf0277939be2d32594325cc0a009e959271e (diff) | |
download | postgresql-549a4bd6fec0994385560ca55cfdf07af94a2ace.tar.gz postgresql-549a4bd6fec0994385560ca55cfdf07af94a2ace.zip |
Adjust message to not be misleading on Windows.
Andrew Dunstan
-rw-r--r-- | src/test/regress/pg_regress.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/test/regress/pg_regress.sh b/src/test/regress/pg_regress.sh index 567975f919d..22b2c104f83 100644 --- a/src/test/regress/pg_regress.sh +++ b/src/test/regress/pg_regress.sh @@ -1,5 +1,5 @@ #! /bin/sh -# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.47 2004/09/22 19:11:19 tgl Exp $ +# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.48 2004/10/24 22:09:33 tgl Exp $ me=`basename $0` : ${TMPDIR=/tmp} @@ -470,7 +470,14 @@ else # not temp-install if [ -n "$PGHOST" ]; then echo "(using postmaster on $PGHOST, $port_info)" else - echo "(using postmaster on Unix socket, $port_info)" + case $host_platform in + *-*-mingw32*) + echo "(using postmaster on localhost socket, $port_info)" + ;; + *) + echo "(using postmaster on Unix socket, $port_info)" + ;; + esac fi message "dropping database \"$dbname\"" "$bindir/dropdb" $psql_options "$dbname" |