Re: AC_REPLACE_FUNCS([getaddrinfo]) in 8.1.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: AC_REPLACE_FUNCS([getaddrinfo]) in 8.1.3
Date: 2006-02-20 04:32:53
Message-ID: 16268.1140409973@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Albert Chin <pgsql-hackers(at)mlists(dot)thewrittenword(dot)com> writes:
> On Sun, Feb 19, 2006 at 09:56:20PM -0500, Tom Lane wrote:
>> Hmm, where is it then?

> getaddrinfo is a macro in <netdb.h>:

Yes, we know that. The question was where does the macro point.

> The solution is to either revert to the 8.1.1 code (my recommendation)
> or check for ngetaddrinfo. The latter is a crude hack though.

Hm, I think both of us are confused: me because I thought we'd changed
the getaddrinfo test, which in fact has not happened, and you because
you think 8.1.1 is different from 8.1.3 on this point, which it is not.

Would you try the patch proposed at
http://archives.postgresql.org/pgsql-patches/2006-01/msg00299.php
and see if it fixes the problem? That patch has *not* gotten applied,
probably because no one confirmed that it worked.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2006-02-20 04:47:48 Re: [PERFORM] Need pointers to "standard" pg database(s) for
Previous Message Marc G. Fournier 2006-02-20 04:00:10 Re: Pgfoundry and gborg: shut one down