Re: [GENERAL] [PATCH] Better way to check for getaddrinfo - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [GENERAL] [PATCH] Better way to check for getaddrinfo
Date
Msg-id 22833.1138298693@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] [PATCH] Better way to check for getaddrinfo  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [GENERAL] [PATCH] Better way to check for getaddrinfo  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I am not sure what to do on this.  Right now we have a one-line test:
>     AC_REPLACE_FUNCS([getaddrinfo])
> To test for a macro we are going to need to add include netdb.h, and the
> LINK test below is overkill.  I am thinking we should just hard-code in
> HAVE_GETADDRINFO for the True64 platform;  anything more is going to be
> just a Tru64 hack anyway.

I still want to understand why any change is needed at all.  There must
be something very peculiar about getaddrinfo on Tru64 if the original
coding doesn't work.  Why is it different from every other function we
test for?

            regards, tom lane

pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Backslashes in string literals
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] [PATCH] Better way to check for getaddrinfo