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

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 (view raw or flat)
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

pgsql-novice by date

Next:From: Christopher A. GoodfellowDate: 2006-03-09 19:37:54
Subject: Re: Invalid Page Header
Previous:From: Michael FuhrDate: 2006-03-09 19:16:46
Subject: Re: Invalid Page Header

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