Skip to content
Snippets Groups Projects
Commit 549a4bd6 authored by Tom Lane's avatar Tom Lane
Browse files

Adjust message to not be misleading on Windows.

Andrew Dunstan
parent 39fccf02
No related branches found
No related tags found
No related merge requests found
#! /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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment