Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > Tom Lane wrote:
> >> The real problem is perhaps that the message gives no hint that it's
> >> talking about being unable to establish an IPv6 socket.  With that hint,
> >> perhaps people would realize that it's not a problem.
> 
> > Not sure who took it out, but it gone.  The original message was:
> >   elog(LOG, "IPv6 support disabled --- perhaps the kernel does not support IPv6");
> 
> That seems both wordy and not necessarily accurate.  What I had in mind
> was more like
> 
>       "could not create IPv6 socket: %m"
> 
> 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.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to