pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: MIlos Prudek <prudek@bvx.cz>
Cc: pgsql-admin@postgresql.org
Subject: Re: missing chunk number 0 for toast value ...
Date: Wed, 03 May 2006 16:40:17 -0400
Message-ID: <25742.1146688817@sss.pgh.pa.us> (raw)
In-Reply-To: <200605032202.57825.prudek@bvx.cz>
References: <200605032202.57825.prudek@bvx.cz>

MIlos Prudek <prudek@bvx.cz> writes:
> select * from info;
> ERROR:  missing chunk number 0 for toast value 190937

I was going to suggest the REINDEX, but no luck :-(

> What should I do to salvage the table?

Find the row containing the busted toast reference, and delete that row
(or just UPDATE it with some new value for the toasted column).  You can
home in on it with the usual sorts of search methods --- look in the PG
list archives for previous discussions of locating corrupted rows.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <25742.1146688817@sss.pgh.pa.us>
Permalink:  ../25742.1146688817@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25742.1146688817@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, prudek@bvx.cz
  Subject: Re: missing chunk number 0 for toast value ...
  In-Reply-To: <25742.1146688817@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox