| От | Andrew Chernow |
|---|---|
| Тема | Re: AIX 4.3 getaddrinfo busted |
| Дата | |
| Msg-id | 4979DE66.3080007@esilo.com обсуждение исходный текст |
| Ответ на | Re: AIX 4.3 getaddrinfo busted (Bruce Momjian <bruce@momjian.us>) |
| Список | pgsql-hackers |
Bruce Momjian wrote: > > If you really want this platform to work, I would submit a patch that > tests for a C compiler symbol or #define that is only defined for that > platform and make service = null in that case. > I am not aware of such an animal. I looked at the output of " touch x.c && gcc -v -dM -E x.c" but didn't find anything when compared to AIX 6.1. We could set one in configure (like _AIXVER43)or use _AIX + uname(). How about checking for the failure case, where getaddrinfo returns EAI_NODATA on _AIX with a non-NULL servname. If that happens, call getaddrinfo again with a NULL servname. -- Andrew Chernow eSilo, LLC every bit counts http://www.esilo.com/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера