Re: AC_REPLACE_FUNCS([getaddrinfo]) in 8.1.3 - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: AC_REPLACE_FUNCS([getaddrinfo]) in 8.1.3
Date
Msg-id 20060220073740.GB12673@svana.org
Whole thread Raw
In response to Re: AC_REPLACE_FUNCS([getaddrinfo]) in 8.1.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: AC_REPLACE_FUNCS([getaddrinfo]) in 8.1.3
List pgsql-hackers
On Sun, Feb 19, 2006 at 11:32:53PM -0500, Tom Lane wrote:
> 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.

This test is different, it checks that getaddrinfo has four args. I'm
not sure if it's important but if you just want to check the function
exists, just checking for:

[return getaddrinfo ? 0 : 1;],

Will check for existance.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

pgsql-hackers by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: postgresql query string length limit
Next
From: "Jeroen T. Vermeulen"
Date:
Subject: Re: Pgfoundry and gborg: shut one down