rafikoko <rako(at)wapice(dot)com> writes:
> I've got also the following message after dumping:
> pg_dump: [tar archiver] actual file length (4104361) does not match expected
> (4104361)
> which in fact does not make sense for me.
Hmm, it looks like that code is printing the wrong variable's value.
However, the condition it's complaining of shouldn't have happened,
so you need to look more closely. I suspect you've got a corrupt
tar archive. Does it look sane if you do "tar tvf" on it?
regards, tom lane