Re: pg_restore error - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_restore error
Date
Msg-id 18550.1133484461@sss.pgh.pa.us
Whole thread Raw
In response to pg_restore error  (Scott Frankel <leknarf@pacbell.net>)
Responses Re: pg_restore error
List pgsql-general
Scott Frankel <leknarf@pacbell.net> writes:
> What does this error mean?
>     pg_restore: [tar archiver] could not find header for file 1765.dat
> in tar archive

It means either the tar file is corrupt or pg_restore has a bug.

Can tar read the file correctly?  If so, does it find a file named
1765.dat therein?

(Historically, the tar code in pg_dump/pg_restore has not been as
well debugged as the custom format, so you might want to just use
-Fc instead.  If you're really intent on using -Ft, be prepared to
help us debug it.)

            regards, tom lane

pgsql-general by date:

Previous
From: Poul Møller Hansen
Date:
Subject: Slow COUNT
Next
From: "essay182@gmail.com"
Date:
Subject: lo_import permissions problem