Re: Error: missing chunk number ... - Mailing list pgsql-hackers

From Neophytos Demetriou
Subject Re: Error: missing chunk number ...
Date
Msg-id 3D4E438E.2010808@cytanet.com.cy
Whole thread Raw
In response to Error: missing chunk number ...  (Neophytos Demetriou <k2pts@cytanet.com.cy>)
Responses Re: Error: missing chunk number ...  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
>
>
>Bizarre.  Evidently there's something broken about the TOAST data for
>your table.  I am thinking that the toast table's index might be
>corrupt, in which case you could probably recover by reindexing that
>index.
>

That's it! Doing the following fixed the problem:
./oid2name -d xxxxx-db -t rss_channels
Oid of table rss_channels from database "xxxxx-db":
_______________________________
796690 = rss_channels

backend> reindex index pg_toast_796690_idx;

I still don't know what caused this but I'll wait a bit and see how it 
goes -- this was not the first time I had this problem. In the past 
(couple of weeks), I  used to drop and recreate the table to resolve this.

Thanks for the help.

Best wishes,
Neophytos



pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Wacky OID idea
Next
From: Gavin Sherry
Date:
Subject: Re: Error: missing chunk number ...