Skip site navigation (1) Skip section navigation (2)

Re: listening addresses

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: listening addresses
Date: 2004-03-24 11:06:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Bruce Momjian said:
> Tom Lane wrote:
>> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>> > Second attempt attached. The fatal message now reads "no configured
>> > listening socket available", but I am not wedded to the wording. I
>> > also  was not sure how to mark up * in the docs.
>> I went with "no socket configured to listen on" for the failure
>> message, but am not wedded to that either.
> I updated the error text to:
> 	        (errmsg("no socket configured for listening")));
> Hope you like it.

Both of these are not always correct - they might well have configured a
listening address but we were unable to bind to it, although in that case
a warning would have already been issued. To be strictly correct either we
need to use a flag to distinguish the these cases, or we need an error
message that contemplates both cases.



In response to


pgsql-patches by date

Next:From: Tom LaneDate: 2004-03-24 14:44:15
Subject: Re: listening addresses
Previous:From: Bruce MomjianDate: 2004-03-24 04:07:47
Subject: Re: listening addresses

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group