Re: pgsql: rm_cleanup functions need to be allowed to write WAL entries. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: rm_cleanup functions need to be allowed to write WAL entries.
Date
Msg-id 26576.1249853209@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: rm_cleanup functions need to be allowed to write WAL entries.  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: pgsql: rm_cleanup functions need to be allowed to write WAL entries.
List pgsql-committers
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Sun, 2009-08-09 at 11:41 -0400, Tom Lane wrote:
>> Er, what's the point of that?

> Rebuilding damaged indexes automatically, rather than barfing. I regard
> that as a long term extension of crash recovery to bring a database back
> to a usable state.

Having crash recovery auto-rebuild indexes it thinks are damaged seems
to me to be a pretty horrid idea.  Just for starters, it would overwrite
forensic evidence about the cause of the damage.  A DBA might not wish
the rebuild to happen *right then* in any case.

            regards, tom lane

pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pgsql: rm_cleanup functions need to be allowed to write WAL entries.
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Ship documentation without intermediate tarballs Documentation