Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 61616B5DC67 for ; Fri, 28 Oct 2011 13:04:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 37611-03-4 for ; Fri, 28 Oct 2011 16:04:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from exprod7og101.obsmtp.com (exprod7og101.obsmtp.com [64.18.2.155]) by mail.postgresql.org (Postfix) with ESMTP id 01557B5DD19 for ; Fri, 28 Oct 2011 13:03:50 -0300 (ADT) Received: from mail-fx0-f49.google.com ([209.85.161.49]) (using TLSv1) by exprod7ob101.postini.com ([64.18.6.12]) with SMTP; Fri, 28 Oct 2011 09:03:51 PDT Received: by mail-fx0-f49.google.com with SMTP id f16so5040453faa.36 for ; Fri, 28 Oct 2011 09:03:49 -0700 (PDT) Received: by 10.223.75.15 with SMTP id w15mr7084693faj.9.1319817828631; Fri, 28 Oct 2011 09:03:48 -0700 (PDT) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi. [88.195.122.240]) by mx.google.com with ESMTPS id a26sm3368939fac.2.2011.10.28.09.03.47 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Oct 2011 09:03:47 -0700 (PDT) Message-ID: <4EAAD262.1010309@enterprisedb.com> Date: Fri, 28 Oct 2011 19:03:46 +0300 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13 MIME-Version: 1.0 To: Robert Young CC: Tom Lane , Alvaro Herrera , Andres Freund , robertmhaas@gmail.com, GavinFlower , Pg Bugs Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost" References: <201110271412.02896.andres@anarazel.de> <4EA958F0.8050402@enterprisedb.com> <28326.1319726536@sss.pgh.pa.us> <1319809042-sup-2773@alvh.no-ip.org> <1319813588-sup-9035@alvh.no-ip.org> <23407.1319814054@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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/288 X-Sequence-Number: 31558 On 28.10.2011 18:40, Robert Young wrote: > Which wrong? > 1.I got no money to buy a good machine to run both the services and database. > 2.I got no money to buy a good machine to run both the services and > client applications. > 3.Client applications hard-coding "localhost". > 4.PG hard-coding "localhost". #3. Fix the applications to not hard-code "localhost". The difference between #3 and #4 is that PostgreSQL really genuinely always does mean to connect to the local host, while #3 actually wants to connect to some other host, but it was not made configurable. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com