Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 54826B5DC40 for ; Fri, 28 Oct 2011 10:39:52 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 21711-04 for ; Fri, 28 Oct 2011 13:39:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from lists.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 625F2B5DC45 for ; Fri, 28 Oct 2011 10:39:46 -0300 (ADT) Received: from perhan.alvh.no-ip.org (spinlock.commandprompt.com.commandprompt.com [207.173.203.215]) by lists.commandprompt.com (Postfix) with ESMTPA id DB8F934C39D; Fri, 28 Oct 2011 06:39:43 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([200.85.200.200] helo=perhan.alvh.no-ip.org) by assp.commandprompt.com with ESMTP (2.0.1); 28 Oct 2011 06:39:41 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E015A6E5BC; Fri, 28 Oct 2011 10:39:40 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Tom Lane , Heikki Linnakangas , Andres Freund , GavinFlower , Pg Bugs Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost" From: Alvaro Herrera To: Robert Young In-reply-to: References: <201110271412.02896.andres@anarazel.de> <4EA958F0.8050402@enterprisedb.com> <28326.1319726536@sss.pgh.pa.us> Date: Fri, 28 Oct 2011 10:39:40 -0300 Message-Id: <1319809042-sup-2773@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Assp-Version: 2.0.1(3.2.15) on assp.commandprompt.com X-Assp-Client-TLS: yes X-Assp-ID: assp.commandprompt.com m1-09183-07130 X-Assp-Original-Subject: Re: [BUGS] Add statistics_collector_listen_addresses to fix hard-coding of "localhost" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/277 X-Sequence-Number: 31547 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 The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support