Search Postgresql Archives

Re: pg_dump compress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux