Re: Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes
Date
Msg-id 8231.1281064811@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-bugs
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Thu, 2010-08-05 at 11:28 -0700, valgog wrote:
>> It was done as documented in http://www.postgresql.org/docs/9.0/static/backup-incremental-updated.html

> The procedure used does differ from that documented. However, IMHO the
> procedure *documented* is *not* safe and could lead to corrupt indexes
> in the way described, since the last recovered point might be mid-way
> between two halves of an index split record, which will never be
> corrected during HS.

Hm, I was looking at that and thinking it seemed unsafe for entirely
different reasons.  But if you didn't write it, who did?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Greg Stark
Date:
Subject: Re: BUG #5599: Vacuum fails due to index corruption issues
Next
From: Fujii Masao
Date:
Subject: Re: Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes