From: Bruce Momjian <bruce@momjian.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-bugs@postgresql.org
Cc: Robert Young <yayooo@gmail.com>
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Date: Wed, 9 Nov 2011 10:06:01 -0500 (EST)
Message-ID: <201111091506.pA9F61m08906@momjian.us> (raw)
In-Reply-To: <201110271412.02896.andres@anarazel.de>
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. +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, andres@anarazel.de, yayooo@gmail.com
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
In-Reply-To: <201111091506.pA9F61m08906@momjian.us>
References: <201110271412.02896.andres@anarazel.de> <201111091506.pA9F61m08906@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox