Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org, Robert Young <yayooo(at)gmail(dot)com>
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Date: 2011-11-09 15:06:01
Message-ID: 201111091506.pA9F61m08906@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andres Freund wrote:
> Hi Robert,
>
> On Thursday, October 27, 2011 12:38:02 PM Robert Young wrote:
> > What Would Happen if I got NO "localhost" entry in my /etc/hosts ?
> Why should pg cater for such a broken configuration? Sorry for being harsh but
> that seems like it would end in heaps of workarounds.

Do we throw at least a log message warning if localhost isn't resolved?
If not, we should. (I don't want to break my OS to test this.)

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Young 2011-11-09 15:18:00 Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Previous Message Daniel Gochin 2011-11-09 07:07:01 Re: BUG #5627: Can not install on POSReady 2009