unexpected chunk number

From: "Eric Anderson Vianet SAO" <eric(at)vianet-express(dot)com(dot)br>
To: "PostgreSQL general" <pgsql-general(at)postgresql(dot)org>
Subject: unexpected chunk number
Date: 2003-08-08 15:22:43
Message-ID: 00bd01c35dc0$ea646d60$0701a8c0@netterm
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hello all

When i tried ´pg_dump -v -f dump.dmp dtbtransporte´ I got the error:

pg_dump: restoring data for table tbdmovimento

pg_dump: dumping out the contents of table tbdmovimento

pg_dump: ERROR: unexpected chunk number 8 (expected 0) for toast value 6935693

pg_dump: lost synchronization with server, resetting connection

pg_dump: SQL command to dump the contents of table "tbdmovimento" failed: PQendcopy() failed.

pg_dump: Error message from server: pg_dump: The command was: COPY "tbdmovimento" TO stdout;

pg_dump: *** aborted because of error

So I´ve ran a query to see which pg_toast from this tbdmovimento

So I shutdown de postmaster and up a standalone backend and reindexed the database (REINDEX DATABASE dtbtransporte FORCE). All this after a vacuum analyze.

How the pg_dump still returns above error, I´ve tried to REINDEX the index pg_toast_16557. Reindex ran ok, but the pg_dump still returns this error.

any ideas.

tnx

Eric

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-08-08 15:43:36 Re: unexpected chunk number
Previous Message Tom Lane 2003-08-08 15:06:08 Re: problem with timeofday() function in cvs PostgreSQL