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

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

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Help! Can't pg_dump anything: handler procedure for procedural language plpgsql not found
Next
From: "Vilson farias"
Date:
Subject: Timestamp with zero precision