Re: IPv6 patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: IPv6 patch
Date
Msg-id 14383.1041959943@sss.pgh.pa.us
Whole thread Raw
In response to Re: IPv6 patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: IPv6 patch
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> The issue was that folks didn't like silent fallback to just IPv4 if the
> code supported IPv6 but it didn't bind to IPv6 for some reason, e.g.
> kernel doesn't have IPv6 enabled.

Who didn't like it, and what was their rationale?  This seems to me to
be equivalent to expecting Postgres to list out every IP address in the
world *except* the ones it was able to bind to.  That's silly.

If the system does not support IPv6, there will be no v6 address
available to bind to.  It is not going to startle anyone when we do
not bind to an IPv6 address on such a machine.

> Right now it puts a message in the
> server logs, but others wanted some specific way to enable IPv6 and fail
> if it didn't work.

Pure noise, and a useless "feature".
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: IPv6 patch
Next
From: Tom Lane
Date:
Subject: Re: IPv6 patch