public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alvaro Herrera <[email protected]>
To: Grzegorz Szpetkowski <[email protected]>
Cc: pgsql-docs <[email protected]>
Subject: Re: Default compression level for custom format in pg_dump ?
Date: Mon, 18 Apr 2011 13:46:06 -0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Excerpts from Grzegorz Szpetkowski's message of dom abr 17 21:26:02 -0300 2011:
> Then "it goes to" zlib library. According to http://www.zlib.net/manual.html:
>
> "The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and
> 9: 1 gives best speed, 9 gives best compression, 0 gives no
> compression at all (the input data is simply copied a block at a
> time). Z_DEFAULT_COMPRESSION requests a default compromise between
> speed and compression (currently equivalent to level 6)."
>
> #define Z_DEFAULT_COMPRESSION (-1) (zlib.h)
>
> What do you think about adding some clarification in PostgreSQL doc ?
Can this behavior be tuned externally? Say by an environment var or
something. If it can, then maybe it's worth documenting it a bit more
fully (including the tuning option). Otherwise I think the current docs
are enough.
--
Álvaro Herrera <[email protected]>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Default compression level for custom format in pg_dump ?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox