Re: [HACKERS] Proposed patch to getaddrinfo.c to support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Chuck McDevitt" <cmcdevitt(at)greenplum(dot)com>
Cc: "Petr Jelinek" <pjmodos(at)seznam(dot)cz>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, pgsql-patches(at)postgresql(dot)org, dpage(at)vale-housing(dot)co(dot)uk, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Date: 2005-08-26 03:24:42
Message-ID: 4704.1125026682@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Chuck McDevitt" <cmcdevitt(at)greenplum(dot)com> writes:
> It turns out the root of the bug is that our definition of "addrinfo"
> and Windows definition of "addrinfo" are not the same.

... which answers your question about why it's important to pull in
Microsoft's header. That should ensure that the code uses Microsoft's
struct definition. (We might still be short a configure hack or two,
though Andrew claims the HAVE_xxx symbols are getting set properly
on his machine.)

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Petr Jelinek 2005-08-26 10:22:31 Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Previous Message Tom Lane 2005-08-26 03:15:50 Re: [HACKERS] Proposed patch to getaddrinfo.c to support