unexpected data offset flag 0

From: matthias(dot)trauffer(at)bd(dot)zh(dot)ch
To: pgsql-general(at)postgresql(dot)org
Subject: unexpected data offset flag 0
Date: 2014-04-25 10:54:37
Message-ID: OF215C580C.39AEEE7C-ONC1257CC5.003AE068-C1257CC5.003BEE1C@LocalDomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I'm trying to restore a database dumpfile I made of a small 9.3.4 database
using pg_dump -Fc -v -f "db.dump" db, but when I try to restore it on the
same or on another 9.3.4 system with pg_restore -C -d postgres db.dump I
get the following error message:
pg_restore: [archiver] unexpected data offset flag 0
Even listing the contents doesn't work: pg_restore -l db.dump
pg_restore: [archiver] unexpected data offset flag 0
I couldn't find anything in the documentation about this error message. Is
it possible that the dump is corrupted? What can I do to fix this?

Matthias

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Torsten Förtsch 2014-04-25 11:26:19 How to find out PIDs of transactions older than the current?
Previous Message Yue Wang 2014-04-25 07:24:42 about the copy command