Re: trying to repair a bad header block

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: gherzig(at)fmed(dot)uba(dot)ar, pgsql-sql(at)postgresql(dot)org
Subject: Re: trying to repair a bad header block
Date: 2008-10-30 00:36:36
Message-ID: 934.1225326996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> writes:
> On Wed, Oct 29, 2008 at 4:23 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> 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.

It would work, but if you have any *other* damaged pages you might
lose more than you were expecting ...

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Scott Marlowe 2008-10-30 01:24:10 Re: trying to repair a bad header block
Previous Message Scott Marlowe 2008-10-29 22:29:10 Re: trying to repair a bad header block