From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: IPv6 detection |
Date: | 2003-01-06 23:59:00 |
Message-ID: | Pine.LNX.4.44.0301070008460.8249-100000@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Bruce Momjian writes:
> The IPv6 patch currently checks for the function getaddrinfo() and the
> include file netinet/ip6.h.
getaddrinfo() has nothing to do with IPv6, and netinet/ip6.h isn't
included anywhere, so why check for it?
I believe we would need to check for a combination of
getaddrinfo()
inet_ntop()/inet_pton()
AF_INET6
struct sockaddr_in6
Then again, it might be simpler to make it a configure option
(--enable-ipv6) and just assume all those things exist. Over time the
interfaces might stabilize.
However, even when IPv6 support is compiled in, we still need some
run-time control about whether it should get activated because the
presence of the programming interfaces doesn't tell you anything about
whether the run-time environment supports it.
--
Peter Eisentraut peter_e(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-01-06 23:59:34 | Read-only transactions |
Previous Message | Scott Lamb | 2003-01-06 23:07:04 | Re: New Portal in Place, DNS switched ... |