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

From Tom Lane
Subject Re: pg_dump -Fd and compression level
Date
Msg-id 21822.1437849924@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump -Fd and compression level  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> 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?

Looks OK to me.  Thanks for fixing it!
        regards, tom lane



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Anyone working on the TOAST items on the TODO list?
Next
From: Marc Mamin
Date:
Subject: Re: pg_dump -Fd and compression level