From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | "R, Rajesh (STSD)" <rajesh(dot)r2(at)hp(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: [HACKERS] [PATCH] Better way to check for getaddrinfo |
Date: | 2006-01-26 19:06:50 |
Message-ID: | 23342.1138302410@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-patches |
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I have the answer. Tru64 netdb.h has:
> #if defined (_SOCKADDR_LEN) || defined (_XOPEN_SOURCE_EXTENDED)
> #define getaddrinfo ngetaddrinfo
> #else
> #define getaddrinfo ogetaddrinfo
> #endif
Seems like the same method we use for testing finite() and other
possible-macros would handle this, then.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Oisin Glynn | 2006-01-26 19:10:45 | VACUUM Question |
Previous Message | Karsten Hilbert | 2006-01-26 19:00:26 | Re: Arrays |
From | Date | Subject | |
---|---|---|---|
Next Message | Oisin Glynn | 2006-01-26 19:10:45 | VACUUM Question |
Previous Message | Bruce Momjian | 2006-01-26 18:49:34 | Re: [HACKERS] [PATCH] Better way to check for getaddrinfo |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-01-26 19:09:36 | Re: BUG #2195: log_min_messages crash server when in DEBUG3 to |
Previous Message | Bruce Momjian | 2006-01-26 18:55:17 | Re: BUG #2195: log_min_messages crash server when in DEBUG3 to |