Search Postgresql Archives

Re: [PATCH] ipv6 support for getaddrinfo.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"R, Rajesh (STSD)" <rajesh.r2@xxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux