Re: What should I do with this: invalid page header in block ... ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gianni Mariani <gianni(at)mariani(dot)ws>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: What should I do with this: invalid page header in block ... ?
Date: 2005-05-18 03:03:57
Message-ID: 16435.1116385437@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gianni Mariani <gianni(at)mariani(dot)ws> writes:
> I suspect the error below is bad. - Running 8.0.1 on linux FC3 on AMD 64.

> septicide=# delete from sp_log where sp_log_time < (now() - interval '7
> days')::abstime;
> DELETE 215822
> septicide=# vacuum full analyze;
> ERROR: invalid page header in block 5991 of relation "sp_log_idx2"

It is bad ... but if that is just an index, as one would guess from the
name, then a REINDEX should fix it.

After that you might want to think about running some disk and memory
diagnostics. If the same thing happens to one of your tables it won't
be so easy to repair :-(

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Surabhi Ahuja 2005-05-18 05:12:36 regarding IN clause
Previous Message Scott Marlowe 2005-05-17 21:43:20 Re: Postgresql and logs