Adjust message to not be misleading on Windows.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 24 Oct 2004 22:09:33 +0000 (22:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 24 Oct 2004 22:09:33 +0000 (22:09 +0000)
Andrew Dunstan

src/test/regress/pg_regress.sh

index aa150d6a5dfc27907c14e84216128d3aa8eca816..8d1465c2b667df20db729b7fa262976e55b53ad1 100644 (file)
@@ -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"