Re: inconvenient compression options in pg_basebackup

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: inconvenient compression options in pg_basebackup
Date: 2011-05-20 18:19:42
Message-ID: BANLkTimtTvEV_p51YAQXgkTAM5KE_qFvqg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 19, 2011 at 17:56, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> There is no way to tell pg_basebackup to "just compress the thing in a
> default way".  You have to pick some number and then write -Z8 or
> something.  I suppose that interface was copied from pg_dump, but there
> it's not that commonly used because the right formats are compressed by
> default.

It was copied from pg_dump, yes.

> I suggest we add an argument-less option -z that means "compress", and
> then -Z can be relegated to choosing the compression level.

We can't just use -Z without a parameter for that?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gurjeet Singh 2011-05-20 18:35:31 Re: Review: psql include file using relative path
Previous Message Devrim GÜNDÜZ 2011-05-20 18:05:00 Re: Error compiling sepgsql in PG9.1