Re: trying to repair a bad header block - Mailing list pgsql-sql

From Scott Marlowe
Subject Re: trying to repair a bad header block
Date
Msg-id dcc563d10810291529y5b954251x95a6b9e6eefca04f@mail.gmail.com
Whole thread Raw
In response to Re: trying to repair a bad header block  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: trying to repair a bad header block
List pgsql-sql
On Wed, Oct 29, 2008 at 4:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> gherzig@fmed.uba.ar writes:
>> There is a way to 'correct' or blank the values somehow? I guess im going
>> to lose some data, iisnt...
>
> If you can tolerate losing the data on that page, just zero out the
> entire 8K page.  dd from /dev/zero is the usual tool.

Would zero_damaged_pages work here?  I know it's a shotgun to kill a
flea, but it's also easier and safer for a lot of folks than dding a
page in their table.


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: trying to repair a bad header block
Next
From: Tom Lane
Date:
Subject: Re: trying to repair a bad header block