Re: pg_dump --compress error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: yasin malli <yasinmalli(at)gmail(dot)com>
Cc: Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>, "pgsql-general(at)postgresql(dot)org Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump --compress error
Date: 2010-08-31 14:39:30
Message-ID: 2539.1283265570@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

yasin malli <yasinmalli(at)gmail(dot)com> writes:
> Unfortunately, only plain-old dump works correctly while restoring.
> if command contains any compress option, it won't work

--compress is normally used as an adjunct to -Fc.
I'm not real sure what you get if you specify it without that;
maybe a compressed plain-text-script dump? If so, you'd have
to pass it through gunzip and then to psql to do anything useful
with it.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Henk van Lingen 2010-08-31 14:50:09 Forcing the right queryplan
Previous Message Oleg Bartunov 2010-08-31 14:27:26 Re: GiN indexes