Robert Haas wrote:

>> tar -x post*.tar
>> ^C
>> c-76-123-226-197:Downloads donfox1$ tar -xvf postgresql-8.4.1.tar
>> tar: Unrecognized archive format: Inappropriate file type or format
>> tar: Error exit delayed from previous errors.

I've seen some browsers on Mac OS X "helpfully" strip the .gz extension.
I have no idea why.

Try using the "file" utility to see what sort of file it is. If "file" says:

postgresql-8.4.1.tar: gzip compressed data, from Unix,

then use "tar xvzf" instead.

(I've never understood why tar doesn't detect the gzip and bzip2 file
headers and automatically shell out to the appropriate helper. Or just
link to zlib, for that matter. "purist" issues I expect.)

Anyway, if "file" says something else, post the result here along with
the result of:

od -x postgresql-8.4.1.tar | head

--
Craig Ringer

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to