From: | Scott Frankel <leknarf(at)pacbell(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pg_restore error |
Date: | 2005-12-02 03:50:13 |
Message-ID: | A657C6CB-2644-45FA-ACE5-B6BF701CC063@pacbell.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Yes, the tar file contains a file called 1765.dat. A `cat` of that
file shows nothing more than an empty line (i.e.: a carriage return).
-rw------- 1 frankel prod 1 Nov 29 11:20 1765.dat
Extracting the archive, tar reported a "lone zero block." I don't
know what this refers to.
tar: A lone zero block at 9242
I'm happy to either help debug Ft or switch to Fc in my scripts. I
was under the impression, though, that Ft was required to backup db's
with blobs. I am storing some thumbnail jpg images in my db.
I'd also be interested to know if the pg_restore error is due to my
upgrade to postgres 8.1 or macosx 10.4.3.
Thanks
Scott
On Dec 1, 2005, at 4:47 PM, Tom Lane wrote:
> 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
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-12-02 04:02:20 | Re: pg_restore error |
Previous Message | David Fetter | 2005-12-02 03:42:05 | Re: number of dimensions of a multi-dimensional array |