From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Grzegorz Szpetkowski <gszpetkowski(at)gmail(dot)com> |
Cc: | pgsql-docs <pgsql-docs(at)postgresql(dot)org> |
Subject: | Re: Default compression level for custom format in pg_dump ? |
Date: | 2011-04-18 16:46:06 |
Message-ID: | 1303145065-sup-9479@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
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 <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim GÜNDÜZ | 2011-04-19 00:17:33 | Re: [DOCS] 9.0.3 pdf manual is missing bookmarks |
Previous Message | Grzegorz Szpetkowski | 2011-04-18 00:26:02 | Default compression level for custom format in pg_dump ? |