Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Tom Lane wrote:
> >> But I still wonder whether we shouldn't suppress the message entirely,
> >> at least for EAFNOSUPPORT errors.
>
> > If we suppress it entirely, there is no user-visible report that IPv6
> > isn't enabled on this computer, though if your kernel doesn't support
> > it, you would think they would know that, but I suspect many people
> > don't know it has to be enabled in the kernel --- hence the wording of
> > the original message.
>
> I don't see your point at all. If they don't have IPv6 enabled in the
> kernel, they don't need it. Or if they do, Postgres launch is surely
> not going to be the place where they discover they need it.
That's a good point. Will they find they don't have IPv6 enabled in the
kernel before trying to make an IPv6 connection, perhaps from another
machine or from the local machine?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073