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

From Alvaro Herrera
Subject Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Date
Msg-id 1319809042-sup-2773@alvh.no-ip.org
Whole thread Raw
In response to Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"  (Robert Young <yayooo@gmail.com>)
Responses Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: Re: BUG #6264: Superuser does not have inherent Replication permission
Next
From: Robert Haas
Date:
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"