Re: pg_dump -Fd and compression level

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Marc Mamin <M(dot)Mamin(at)intershop(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump -Fd and compression level
Date: 2015-07-25 18:32:51
Message-ID: 55B3D653.1060408@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
pg_dump_compression_fix.patch text/x-diff 1.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2015-07-25 18:39:15 Re: Anyone working on the TOAST items on the TODO list?
Previous Message Adrian Klaver 2015-07-25 18:32:01 Re: Speakers Wanted for pgDay Cuba