On 07/25/2015 01:52 PM, I wrote:
>
>
>
> I propose to tighten pg_dump's rules so that only 0..9 are accepted as
> arguments for -Z, and in compress_io.c:cfopen(), if compression is
> equal to Z_DEFAULT_COMPRESSION, not add any explicit compression value
> to the mode, thus using the zlib default.
>
>
As per attached patch.
Comments?
cheers
andrew