Re: Invalid Page Header

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher A(dot) Goodfellow" <cgoodfellow(at)tealuxe(dot)com>
Cc: "'Michael Fuhr'" <mike(at)fuhr(dot)org>, "'Pgsql-Novice (E-mail)'" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Invalid Page Header
Date: 2006-03-09 19:20:04
Message-ID: 26825.1141932004@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Christopher A. Goodfellow" <cgoodfellow(at)tealuxe(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Christopher A. Goodfellow 2006-03-09 19:37:54 Re: Invalid Page Header
Previous Message Michael Fuhr 2006-03-09 19:16:46 Re: Invalid Page Header