Re: pg_restore error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Scott Frankel <leknarf(at)pacbell(dot)net>
Cc: PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_restore error
Date: 2005-12-02 00:47:41
Message-ID: 18550.1133484461@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Frankel <leknarf(at)pacbell(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message essay182@gmail.com 2005-12-02 03:03:23 lo_import permissions problem
Previous Message Cott Lang 2005-12-01 22:38:55 postmaster / resolv.conf / dns problem