fix for windows breakage in regression script - Mailing list pgsql-patches

From Andrew Dunstan
Subject fix for windows breakage in regression script
Date
Msg-id 41E88F6B.3070906@dunslane.net
Whole thread Raw
Responses Re: fix for windows breakage in regression script
List pgsql-patches
The recent change to pg_regress.sh has apparently broken testing on my
Windows machine - see
http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=loris&dt=2005-01-15%2001:36:36
which contains this:

================== pgsql.2544/src/test/regress/log/postmaster.log ===================
LOG:  could not translate host name "''", service "65432" to address: Unknown host
WARNING:  could not create listen socket for "''"
FATAL:  no socket created for listening

The attached patch seems to cure the problem.



cheers

andrew
Index: src/test/regress/pg_regress.sh
===================================================================
RCS file: /home/cvsmirror/pgsql/src/test/regress/pg_regress.sh,v
retrieving revision 1.52
diff -c -r1.52 pg_regress.sh
*** src/test/regress/pg_regress.sh    12 Jan 2005 16:19:51 -0000    1.52
--- src/test/regress/pg_regress.sh    15 Jan 2005 03:31:27 -0000
***************
*** 196,202 ****
  # ----------

  case $host_platform in
!     *-*-qnx* | *beos*)
          unix_sockets=no;;
      *)
          unix_sockets=yes;;
--- 196,202 ----
  # ----------

  case $host_platform in
!     *-*-qnx* | *beos* | *-*-mingw32* )
          unix_sockets=no;;
      *)
          unix_sockets=yes;;

pgsql-patches by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: Another Plpgsql trigger example - summary table
Next
From: Tom Lane
Date:
Subject: Re: Another Plpgsql trigger example - summary table