Re: pg_dump error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux