pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Torsten Zuehlsdorff <foo@meisterderspiele.de>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Date: Thu, 10 Nov 2011 12:20:35 +0200
Message-ID: <4EBBA573.2060901@enterprisedb.com> (raw)
In-Reply-To: <4EBB98B8.6080202@meisterderspiele.de>
References: <CAJjz_NiGct3iLipCk9JC2TY5u+u9A0CzvH64zys+V=nYSG-zUw@mail.gmail.com>
	<201111091648.pA9GmXK23629@momjian.us>
	<CAJjz_NjT_yH9TEju1fNhkCfXLLKR9d9p57wUi=rzEbuWk46xww@mail.gmail.com>
	<4EBB3443.2020709@ringerc.id.au>
	<CAJjz_NjPvjrn=fePXDc78SD=0ZcrOY2L19ewhVWCUxLLOLPmng@mail.gmail.com>
	<4EBB70D7.4000506@enterprisedb.com>
	<4EBB816C.2050402@meisterderspiele.de>
	<4EBB8A0C.4030704@hogranch.com>
	<4EBB98B8.6080202@meisterderspiele.de>

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



view thread (47+ messages)  latest in thread

Message-ID: <4EBBA573.2060901@enterprisedb.com>
Permalink:  ../4EBBA573.2060901@enterprisedb.com/
Also on:    postgresql.org/message-id/4EBBA573.2060901@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: heikki.linnakangas@enterprisedb.com, foo@meisterderspiele.de
  Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
  In-Reply-To: <4EBBA573.2060901@enterprisedb.com>
  References: <CAJjz_NiGct3iLipCk9JC2TY5u+u9A0CzvH64zys+V=nYSG-zUw@mail.gmail.com> <201111091648.pA9GmXK23629@momjian.us> <CAJjz_NjT_yH9TEju1fNhkCfXLLKR9d9p57wUi=rzEbuWk46xww@mail.gmail.com> <4EBB3443.2020709@ringerc.id.au> <CAJjz_NjPvjrn=fePXDc78SD=0ZcrOY2L19ewhVWCUxLLOLPmng@mail.gmail.com> <4EBB70D7.4000506@enterprisedb.com> <4EBB816C.2050402@meisterderspiele.de> <4EBB8A0C.4030704@hogranch.com> <4EBB98B8.6080202@meisterderspiele.de> <4EBBA573.2060901@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox