Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 53E18B5DBDF for ; Tue, 1 Nov 2011 05:11:15 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 85017-06 for ; Tue, 1 Nov 2011 08:11:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id 09B36B5DBDA for ; Tue, 1 Nov 2011 05:11:08 -0300 (ADT) Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id pA18B2723708 for ; Tue, 1 Nov 2011 01:11:03 -0700 Message-ID: <4EAFA996.7020208@hogranch.com> Date: Tue, 01 Nov 2011 01:11:02 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: PostgreSQL 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> <4EAAD262.1010309@enterprisedb.com> <25295.1319819712@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.101 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.201 X-Spam-Level: X-Archive-Number: 201111/9 X-Sequence-Number: 31604 On 11/01/11 1:04 AM, Robert Young wrote: >> 3.Client applications hard-coding "localhost". >> > 4.PG hard-coding "localhost". > Since They are equivalent,the answer is obvious: > Both #3 and #4 are wrong. as Tom Lane already said, and I'll quote again.. > Look, we will explain this once more. Postgres is entitled to assume > that "localhost" means the local machine; there are Internet standards > saying so. On the other hand, client applications that assume the > database server is on the same machine they are on are definitely > broken, and need to be fixed. anyways, this is NOT a postgresql bug, so this is the wrong list for this discussion. -- john r pierce N 37, W 122 santa cruz ca mid-left coast