pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Robert Young <yayooo@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: GavinFlower <gavinflower@archidevsys.co.nz>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Date: Fri, 28 Oct 2011 10:39:40 -0300
Message-ID: <1319809042-sup-2773@alvh.no-ip.org> (raw)
In-Reply-To: <CAJjz_Njvc5o9XLQmqWS9yuq2=cNJGiW5ma+ABV=5cXg9GyJorw@mail.gmail.com>
References: <CAJjz_Nhxdkr-0kx9F+VCTub1_kiXPyo5M-9v8Dn7N7y7PEPsXg@mail.gmail.com>
	<201110271412.02896.andres@anarazel.de>
	<CAJjz_NgWTo_VEhk2os_S1cbXRojP1dZfYozMWSHuH_BU918SpQ@mail.gmail.com>
	<4EA958F0.8050402@enterprisedb.com>
	<28326.1319726536@sss.pgh.pa.us>
	<CAJjz_Njvc5o9XLQmqWS9yuq2=cNJGiW5ma+ABV=5cXg9GyJorw@mail.gmail.com>


Excerpts from Robert Young's message of vie oct 28 04:11:57 -0300 2011:
> I am just wondering, why "localhost" entry in /etc/hosts is editable
> and why 127.0.0.1 not fixed with loopback interface?
> should you agree with that we should submit a patch to kernel to
> resolve "localhost" to 127.0.0.1 statically need no entry in
> /etc/hosts and loopback interface bind to 127.0.0.1 not changeable?
> If your answer is NO.

Maybe you can define localhost as an IPv6 address.


> Why you give me this option to configure /etc/hosts or loopback
> interface as well as deprive my option which hostname or IP for
> statistics_collector to listen on?
> Why operating system designed flexible and database system wrote in hard-coding?

Are you solving a real problem here?

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (47+ messages)  latest in thread

Message-ID: <1319809042-sup-2773@alvh.no-ip.org>
Permalink:  ../1319809042-sup-2773@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1319809042-sup-2773@alvh.no-ip.org

 · 

reply

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: alvherre@commandprompt.com, yayooo@gmail.com, tgl@sss.pgh.pa.us, heikki.linnakangas@enterprisedb.com, andres@anarazel.de, gavinflower@archidevsys.co.nz
  Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
  In-Reply-To: <1319809042-sup-2773@alvh.no-ip.org>
  References: <CAJjz_Nhxdkr-0kx9F+VCTub1_kiXPyo5M-9v8Dn7N7y7PEPsXg@mail.gmail.com> <201110271412.02896.andres@anarazel.de> <CAJjz_NgWTo_VEhk2os_S1cbXRojP1dZfYozMWSHuH_BU918SpQ@mail.gmail.com> <4EA958F0.8050402@enterprisedb.com> <28326.1319726536@sss.pgh.pa.us> <CAJjz_Njvc5o9XLQmqWS9yuq2=cNJGiW5ma+ABV=5cXg9GyJorw@mail.gmail.com> <1319809042-sup-2773@alvh.no-ip.org>

* 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