Re: Invalid Page Header - Mailing list pgsql-novice

From Tom Lane
Subject Re: Invalid Page Header
Date
Msg-id 26825.1141932004@sss.pgh.pa.us
Whole thread Raw
In response to Re: Invalid Page Header  ("Christopher A. Goodfellow" <cgoodfellow@tealuxe.com>)
Responses Re: Invalid Page Header  ("Christopher A. Goodfellow" <cgoodfellow@tealuxe.com>)
List pgsql-novice
"Christopher A. Goodfellow" <cgoodfellow@tealuxe.com> writes:
> I have read quite a bit in the archives and it seems the best way is to
> zero_damaged_pages.  I did a search for zero_damaged_pages.  Is it as simple
> as adding zero_damaged_pages to postgresql.conf and restarting the
> postmaster?

Since zero_damaged_pages is a pretty dangerous thing to have on, I
wouldn't recommend turning it on in postgresql.conf.  Instead, turn it
on within a single session using SET, and then scan the tables that you
want to clean up (a VACUUM or SELECT COUNT(*) will do).

            regards, tom lane

pgsql-novice by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Invalid Page Header
Next
From: "Christopher A. Goodfellow"
Date:
Subject: Re: Invalid Page Header