Re: pg_dump -Fd and compression level - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: pg_dump -Fd and compression level
Date
Msg-id 55B3D653.1060408@dunslane.net
Whole thread Raw
In response to Re: pg_dump -Fd and compression level  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pg_dump -Fd and compression level  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: pg_dump -Fd and compression level  (Marc Mamin <M.Mamin@intershop.de>)
List pgsql-hackers
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


Attachment

pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: A little RLS oversight?
Next
From: Josh Berkus
Date:
Subject: Re: Anyone working on the TOAST items on the TODO list?