Re: Error: missing chunk number for toast value

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Kevin Kempter" <cs_dba(at)consistentstate(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Error: missing chunk number for toast value
Date: 2010-08-17 20:54:06
Message-ID: 4C6AB09E02000025000347B4@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Kevin Kempter <cs_dba(at)consistentstate(dot)com> wrote:

> # select * from comments;
> ERROR: missing chunk number 0 for toast value 1274882 in
> pg_toast_49234
>
>
> I tried this:
>
> # reindex table pg_toast.pg_toast_49234;
> REINDEX
>
>
> but the error still persists.
>
> Thoughts?

Your database is corrupted. Any idea how that happened? As with
any database corruption, I recommend you stop the server and make a
copy of the whole data directory and everything under it before any
recovery attempts.

You could zero in on the damage by selecting specific columns, and
ranges of rows.

A little more detail would be helpful. For ideas, read this:

http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Anj Adu 2010-08-18 15:30:27 autovacuum check
Previous Message Kevin Kempter 2010-08-17 20:38:39 Error: missing chunk number for toast value