Re: [PATCH] ipv6 support for getaddrinfo.c - Mailing list pgsql-general

From Tom Lane
Subject Re: [PATCH] ipv6 support for getaddrinfo.c
Date
Msg-id 15326.1140533712@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] ipv6 support for getaddrinfo.c  ("R, Rajesh (STSD)" <rajesh.r2@hp.com>)
List 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 by date:

Previous
From: "uuZZuuZZ (sent by Nabble.com)"
Date:
Subject: Re: win cmd line query tool
Next
From: Martijn van Oosterhout
Date:
Subject: Re: win cmd line query tool