Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost" - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Date
Msg-id 201111091506.pA9F61m08906@momjian.us
Whole thread Raw
In response to Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"  (Andres Freund <andres@anarazel.de>)
Responses Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
List 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@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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

pgsql-bugs by date:

Previous
From: "Daniel Gochin"
Date:
Subject: Re: BUG #5627: Can not install on POSReady 2009
Next
From: Robert Young
Date:
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"