Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"

From: Torsten Zuehlsdorff <foo(at)meisterderspiele(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Date: 2011-11-11 07:51:48
Message-ID: 4EBCD414.90706@meisterderspiele.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Heikki Linnakangas schrieb:

>>>> 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.

The manual says that autovacuum protects againt loss of very old data:
http://www.postgresql.org/docs/9.1/static/routine-vacuuming.html

So either your statement is wrong or the manual. ;) If there is the
possibility to lose data just because of this kind of missconfiguration,
we should accept Roberts patch.

Greetings,
Torsten
--
http://www.dddbl.de - ein Datenbank-Layer, der die Arbeit mit 8
verschiedenen Datenbanksystemen abstrahiert,
Queries von Applikationen trennt und automatisch die Query-Ergebnisse
auswerten kann.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mark Kirkwood 2011-11-11 09:08:54 Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Previous Message Craig Ringer 2011-11-11 03:25:30 Re: BUG #6290: converting interval from weeks to days