Re: 7.4Beta1 "failed to create socket: Address family not - Mailing list pgsql-general

From Bruce Momjian
Subject Re: 7.4Beta1 "failed to create socket: Address family not
Date
Msg-id 200308121430.h7CEUck16315@candle.pha.pa.us
Whole thread Raw
In response to Re: 7.4Beta1 "failed to create socket: Address family not  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Timestamp with zero precision
Next
From: Bruce Momjian
Date:
Subject: Re: 7.4Beta1 "failed to create socket: Address family not