Skip site navigation (1) Skip section navigation (2)

Re: trying to repair a bad header block

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-29 22:29:10
Message-ID: dcc563d10810291529y5b954251x95a6b9e6eefca04f@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-sql
On Wed, Oct 29, 2008 at 4:23 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> gherzig(at)fmed(dot)uba(dot)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.

In response to

Responses

pgsql-sql by date

Next:From: Tom LaneDate: 2008-10-30 00:36:36
Subject: Re: trying to repair a bad header block
Previous:From: Tom LaneDate: 2008-10-29 22:23:38
Subject: Re: trying to repair a bad header block

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group