mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
From Jason Tishler <jt@dothill.com>
* doc/FAQ_MSWIN: Update to be consistent with software -- mainly change comment from lack of Cygwin UNIX domain socket support and to list of current Cygwin UNIX domain socket issues. * src/include/config.h.in: Enable UNIX domain sockets for Cygwin. * src/include/port/win.h: Disable UNIX domain sockets for Cygwin b20.1. * src/test/regress/pg_regress.sh: Use UNIX domain sockets for Cygwin instead of TCP/IP.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
* or in config.h afterwards. Of course, if you edit config.h, then your
|
||||
* changes will be overwritten the next time you run configure.
|
||||
*
|
||||
* $Id: config.h.in,v 1.155 2001/01/09 18:40:15 petere Exp $
|
||||
* $Id: config.h.in,v 1.156 2001/01/19 23:43:35 petere Exp $
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_H
|
||||
@ -228,7 +228,7 @@
|
||||
/*
|
||||
* Define this if your operating system supports AF_UNIX family sockets.
|
||||
*/
|
||||
#if !defined(__CYGWIN__) && !defined(__QNX__) && !defined(__BEOS__)
|
||||
#if !defined(__QNX__) && !defined(__BEOS__)
|
||||
# define HAVE_UNIX_SOCKETS 1
|
||||
#endif
|
||||
|
||||
|
@ -9,3 +9,10 @@ typedef unsigned char slock_t;
|
||||
#define HAVE_INT_TIMEZONE /* has int _timezone */
|
||||
|
||||
#include <cygwin/version.h>
|
||||
|
||||
/*
|
||||
* Check for b20.1 and disable AF_UNIX family socket support.
|
||||
*/
|
||||
#if CYGWIN_VERSION_DLL_MAJOR < 1001
|
||||
# undef HAVE_UNIX_SOCKETS
|
||||
#endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.17 2001/01/13 03:25:48 petere Exp $
|
||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.18 2001/01/19 23:43:36 petere Exp $
|
||||
|
||||
me=`basename $0`
|
||||
: ${TMPDIR=/tmp}
|
||||
@ -156,11 +156,11 @@ done
|
||||
|
||||
|
||||
# ----------
|
||||
# When on Windows, QNX or BeOS, don't use Unix sockets.
|
||||
# When on QNX or BeOS, don't use Unix sockets.
|
||||
# ----------
|
||||
|
||||
case $host_platform in
|
||||
*-*-cygwin* | *-*-qnx* | *beos*)
|
||||
*-*-qnx* | *beos*)
|
||||
unix_sockets=no;;
|
||||
*)
|
||||
unix_sockets=yes;;
|
||||
|
Reference in New Issue
Block a user