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

From Andrew Dunstan
Subject Re: AC_REPLACE_FUNCS([getaddrinfo]) in 8.1.3
Date
Msg-id 43FF04E3.7080209@dunslane.net
Whole thread Raw
In response to Re: AC_REPLACE_FUNCS([getaddrinfo]) in 8.1.3  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Tom Lane wrote:

>Albert Chin <pgsql-hackers@mlists.thewrittenword.com> writes:
>  
>
>>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
>>>      
>>>
>
>  
>
>>Works fine on Tru64 UNIX 4.0D and 5.1.
>>    
>>
>
>OK, applied to HEAD and 8.1.  I'm feeling a bit of concern though after
>re-reading the comment attached to the test:
>
># (Note: the AC_TRY_LINK probe fails on Windows, where the available
># versions of getaddrinfo don't follow normal C call protocol.  This is OK
># because we want to use our own getaddrinfo.c on Windows anyway.)
>
>It seems likely that the new coding will allow the test to *succeed* on
>Windows.  Does that happen, and if so is it bad?  We can put in a hack
>to suppress the test on Windows if necessary.  Someone please check it
>out on Windows ...
>
>    
>  
>

It would be bad - the whole thing is that on Windows we need to search 
for some functions dynamically, so we have to use our own code to do that.

But it appears not to find it either with ipv6 installed or not. So I 
think we're good (fingers crossed).

cheers

andrew


pgsql-hackers by date:

Previous
From: Rafael Martinez Guerrero
Date:
Subject: textToQualifiedNameList second parameter
Next
From: "Nauman Naeem"
Date:
Subject: User privileges-verification required