Re: pg_dump --compress error - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: pg_dump --compress error
Date
Msg-id 1283269389.2867.9.camel@jd-desktop.iso-8859-1.charter.com
Whole thread Raw
In response to Re: pg_dump --compress error  (yasin malli <yasinmalli@gmail.com>)
List pgsql-general
On Tue, 2010-08-31 at 00:50 -0700, yasin malli wrote:
> I tried it and it ran without any error but my table wasn't created so
> problem is going on.
> compress level isn't important because when I controlled it gave me
> same results ( 5 or 9 )
>
> Unfortunately, only plain-old dump works correctly while restoring.
> if command contains any compress option, it won't work

Compress will not work in plaintext format for restore. You need to use
-Fc and then pg_restore.

Joshua D. Drake

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Scalar subquery
Next
From: "Raymond C. Rodgers"
Date:
Subject: Table update problem works on MySQL but not Postgres