"Eric Anderson Vianet SAO" <eric@vianet-express.com.br> writes:
> pg_dump: dumping out the contents of table tbdmovimento
> pg_dump: ERROR: unexpected chunk number 8 (expected 0) for toast value 6935=
> 693
Hm. Could we see the results of
select chunk_seq,length(chunk_data) from <tbdmovimento's toast table>
where chunk_id = 6935693;
If you are not trusting the index then it might be good to try this
with enable_indexscan turned off and see if you get the same answers.
regards, tom lane