Re: pg_restore: [custom archiver] could not uncompress data: incorrect data check

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Janning Vygen <vygen(at)gmx(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore: [custom archiver] could not uncompress data: incorrect data check
Date: 2005-03-14 12:39:57
Message-ID: 20050314123957.GB20480@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Mar 14, 2005 at 12:22:57PM +0100, Janning Vygen wrote:

> i dumped my database on server1 with pg_dump -Fc ..., copied the dump to
> server2, both same pgsql version 7.4.6

How are you copying the file?

> pg_restore says
> pg_restore: [custom archiver] could not uncompress data: incorrect data check

"incorrect data check" appears to be a zlib error. Is there any
chance the file got corrupted? Can you duplicate the problem if
you do another dump?

What OS and version of zlib are you using on each server?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-03-14 12:43:42 Re: prelimiary performance comparison pgsql vs mysql
Previous Message Sim Zacks 2005-03-14 12:37:00 plpython function problem workaround