Re: pg_dump compress

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Roger Niederland <roger(at)niederland(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump compress
Date: 2011-09-23 13:46:49
Message-ID: 20110923134649.GA25054@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Sep 22, 2011 at 11:00:10PM -0700, Roger Niederland wrote:
> Using pg_dump from the command line with the exe included in windows
> 32 bit install in postgresql 9.1.
> pg_dump -U username -f somefile.sql.gz -Z 9 -i dbname

please note that pg_dump --help shows:
-Z, --compress=0-9 compression level for compressed formats

hint: the part "for compressed formats" is critical.

plain dump is not compressed, you'd have to use -Fc to get compression,
but it's good to use anyway.

Best regards,

depesz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2011-09-23 13:56:23 Re: pg_dump compress
Previous Message Reuven M. Lerner 2011-09-23 13:31:55 Re: Speed of lo_unlink vs. DELETE on BYTEA