Re: [HACKERS] Proposed patch to getaddrinfo.c to support - Mailing list pgsql-patches

From Petr Jelinek
Subject Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Date
Msg-id 430EED67.80605@seznam.cz
Whole thread Raw
In response to Re: [HACKERS] Proposed patch to getaddrinfo.c to support  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: [HACKERS] Proposed patch to getaddrinfo.c to support  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
Andrew Dunstan wrote:
> I suspected we'd forgotten something.
>
> The attached small patch appears to be what's required (at least on
> loris).  "make check" failed but not for any apparent ipv6 reason. More
> importantly, we correctly set HAVE_IPV6 and HAVE_STRUCT_ADDRINFO.

Well this is what I ment with those proposed changes - I haven't sent
patch, just said whats needed - always define HAVE_IPV6 and
HAVE_STRUCT_ADDRINFO and include ws2tcpip.h, if you do just that include
  like your patch did, you'll break building on W2k (and like I said I
don't know how to make HAVE_IPV6 and HAVE_STRUCT_ADDRINFO always defined
under windows because I am not familiar with configure and thats why I
haven't sent patch).

--
Regards
Petr Jelinek (PJMODOS)

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Next
From: Andrew Dunstan
Date:
Subject: Re: [HACKERS] Proposed patch to getaddrinfo.c to support