Re: missing chunk number 0 for toast value xxxxx

From: Robby Russell <robby(dot)lists(at)planetargon(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Robby Russell <robby(at)planetargon(dot)com>
Subject: Re: missing chunk number 0 for toast value xxxxx
Date: 2006-08-06 00:21:08
Message-ID: 69CCFA5B-768C-4039-B055-49FE455F68D4@planetargon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Aug 5, 2006, at 4:29 PM, Robby Russell wrote:

> I'm seeing this weird issue pop up on one a database.
>
> This seems to work...
>
> robbyonrails_typo_dev=# SELECT count(id) FROM contents WHERE title
> ~* 'postgresql' LIMIT 20;
> count
> -------
> 19
> (1 row)
>
> ...but these two seem to be causing an error now.
>
> robbyonrails_typo_dev=# SELECT count(id) FROM contents WHERE body
> ~* 'postgresql' LIMIT 20;
> ERROR: missing chunk number 0 for toast value 58441
>
> robbyonrails_typo_dev=# SELECT count(id) FROM contents WHERE
> body_html ~* 'postgresql' LIMIT 20;
> ERROR: missing chunk number 0 for toast value 58440
>
> I tried reindexing the table but it''s not going away. Any pointers?
>
> Robby

Thanks to the kind folks in #postgresql I was able to run a loop
through the database and find the corrupt row in the table and delete
it.

All is well!

Robby

--
Robby Russell
Founder & Executive Director

PLANET ARGON, LLC
Ruby on Rails Development, Consulting & Hosting

www.planetargon.com
www.robbyonrails.com

+1 503 445 2457
+1 877 55 ARGON [toll free]
+1 815 642 4068 [fax]

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robby Russell 2006-08-06 00:22:56 Re: Ajax/PostgreSQL
Previous Message Peter Wilson 2006-08-05 23:36:56 Re: Ajax/PostgreSQL