Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 54128B5DC20 for ; Fri, 28 Oct 2011 11:54:12 -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 90862-07 for ; Fri, 28 Oct 2011 14:54:06 +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 5A7F8B5DC1F for ; Fri, 28 Oct 2011 11:54:06 -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 CF66034C39D; Fri, 28 Oct 2011 07:54:03 -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 07:54:01 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 590646E5BC; Fri, 28 Oct 2011 11:54:00 -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> <1319809042-sup-2773@alvh.no-ip.org> Date: Fri, 28 Oct 2011 11:54:00 -0300 Message-Id: <1319813588-sup-9035@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-13643-02075 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/282 X-Sequence-Number: 31552 Excerpts from Robert Young's message of vie oct 28 11:47:14 -0300 2011: > > I just migrate some services from one machine to another but database > stay there. > So, I think the most simple solution is to change “localhost” point to > the new one, so that I need no modification of client applications. > But found PG gave warnings. I'm surprised that your conclusion was that the path of least resistance was submitting a patch to Postgres. Surely patching the apps would have been a lot easier. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support