From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | Adam Witney <awitney(at)sgul(dot)ac(dot)uk> |
Cc: | pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: pg_dump error |
Date: | 2005-09-07 14:55:19 |
Message-ID: | 20050907145519.GA19992@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Wed, Sep 07, 2005 at 10:50:44AM +0100, Adam Witney wrote:
> pg_dump: ERROR: unexpected chunk number 3292 (expected 5) for toast value
> 144391872
> pg_dump: SQL command to dump the contents of table "measured_bioassay_base"
You might have a corrupted TOAST table. Have you had any hardware
problems, database or system crashes, etc., lately? Do you see any
unusual messages in the database or system log files? What are the
results of the following queries?
SELECT reltoastrelid::regclass
FROM pg_class
WHERE relname = 'measured_bioassay_base';
(The following query refers to the above result as pg_toast.pg_toast_XXXXXX.)
SELECT xmin, xmax, chunk_seq, length(chunk_data)
FROM pg_toast.pg_toast_XXXXXX
WHERE chunk_id = 144391872;
--
Michael Fuhr
From | Date | Subject | |
---|---|---|---|
Next Message | Adam Witney | 2005-09-07 15:08:45 | Re: pg_dump error |
Previous Message | Tom Lane | 2005-09-07 14:54:24 | Re: pg_dump error |