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

Re: BUG #2279: invalid page header in block 95 of newtrd

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2279: invalid page header in block 95 of newtrd
Date: 2006-02-27 03:30:15
Message-ID: dttru5$2as2$ (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
""herianto"" <herianto2(at)yahoo(dot)com> wrote
> Every I will  query select * from namaTable , I get Error invalid page
> header. but if me use query select  * from namaTable limit 1008. I get
> is successfully.
> Total rows of tables is 1009. while if me query select * from namaTable
> limit 1009, I get error same. Then I try to add new record or delete last
> record,again i get error invalid page header.

It looks like that record #1009 is in a broken data page. A workaround is to
copy the first 1008 records to another table by doing "insert into
new_namaTable select * from namaTable limit 1008" and enter #1009 again.
Then use the new_namaTable.

Not sure what caused this though. Is there any system crash while adding
this record?


In response to

pgsql-bugs by date

Next:From: suvarnatDate: 2006-02-27 11:52:19
Subject: BUG #2284: missing sequence number
Previous:From: sfrixosDate: 2006-02-26 23:49:48
Subject: BUG #2283: VS .NET 2003 connection problem

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