Re: [PATCH] ipv6 support for getaddrinfo.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] ipv6 support for getaddrinfo.c
Дата
Msg-id 15326.1140533712@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [PATCH] ipv6 support for getaddrinfo.c  ("R, Rajesh (STSD)" <rajesh.r2@hp.com>)
Список pgsql-general
"R, Rajesh (STSD)" <rajesh.r2@hp.com> writes:
> Patch for getaddrinfo.c to recognize ipv6 addresses.

Is this really interesting?  Are there machines out there that have
usable support for IPv6 and yet haven't got getaddrinfo?

We've deliberately avoided trying to support ipv6 in our src/port/
substitute routines, on the grounds that this scenario wasn't important
in the real world.  I'd just as soon not add this unless really
necessary.

The patch as written is quite unusable anyway, as (a) it's not -c
format, (b) it appears not to be against any version close to CVS HEAD,
(c) it breaks the code entirely on machines without struct sockaddr_in6
or inet_pton (which begs the question even more about scope of
applicability).

Also please note that proposed patches go to pgsql-patches --- they are
certainly far off-topic for pgsql-general.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: "uuZZuuZZ (sent by Nabble.com)"
Дата:
Сообщение: Re: win cmd line query tool
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: win cmd line query tool