Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 078961BDEF21 for ; Thu, 10 Nov 2011 06:20:47 -0400 (AST) 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 28539-09 for ; Thu, 10 Nov 2011 10:20:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from exprod7og106.obsmtp.com (exprod7og106.obsmtp.com [64.18.2.165]) by mail.postgresql.org (Postfix) with ESMTP id 1FA701BDEF1F for ; Thu, 10 Nov 2011 06:20:39 -0400 (AST) Received: from mail-fx0-f50.google.com ([209.85.161.50]) (using TLSv1) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP ID DSNKTruldjYH0DwV5+F6+GM/ixAfHH0evJ3c@postini.com; Thu, 10 Nov 2011 02:20:40 PST Received: by mail-fx0-f50.google.com with SMTP id r15so2789934faa.9 for ; Thu, 10 Nov 2011 02:20:38 -0800 (PST) Received: by 10.223.62.209 with SMTP id y17mr11253353fah.7.1320920438593; Thu, 10 Nov 2011 02:20:38 -0800 (PST) Received: from [192.168.1.100] (dsl-hkibrasgw2-ff6cc300-200.dhcp.inet.fi. [88.195.108.200]) by mx.google.com with ESMTPS id y10sm10542053fal.10.2011.11.10.02.20.36 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Nov 2011 02:20:37 -0800 (PST) Message-ID: <4EBBA573.2060901@enterprisedb.com> Date: Thu, 10 Nov 2011 12:20:35 +0200 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.2.23) Gecko/20111010 Icedove/3.1.15 MIME-Version: 1.0 To: Torsten Zuehlsdorff CC: pgsql-bugs@postgresql.org Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost" References: <201111091648.pA9GmXK23629@momjian.us> <4EBB3443.2020709@ringerc.id.au> <4EBB70D7.4000506@enterprisedb.com> <4EBB816C.2050402@meisterderspiele.de> <4EBB8A0C.4030704@hogranch.com> <4EBB98B8.6080202@meisterderspiele.de> In-Reply-To: <4EBB98B8.6080202@meisterderspiele.de> Content-Type: text/plain; charset=windows-1252; 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: 201111/73 X-Sequence-Number: 31668 On 10.11.2011 11:26, Torsten Zuehlsdorff wrote: > John R Pierce schrieb: >> On 11/09/11 11:46 PM, Torsten Zuehlsdorff wrote: >>> Lossing data is very bad, the solution provided by Robert is really >>> simple. I support Roberts approach. >> >> you support changing localhost to be something other than 127.0.0.1 to >> hack around a poorly designed application?!? seriously? > > No, i support that PG should be able to not lossing data because of an > easily catchable missconfiguration of the underlying system. You won't lose data. There are safeguards in place to print warnings in the log when you approach transaction wrap-around, and after a certain point the system will stop accepting new transactions, to prevent data loss. If autovacuum is not working and you're not doing manual vacuums, you will likely have an extremely bloted database anyway, before you reach wrap-around. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com