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-22 20:43:10
Message-ID: BANLkTikoKf8MAQhiNG8QGn8fQNrvFYFrSg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 20, 2011 at 17:45, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> On fre, 2011-05-20 at 14:19 -0400, Magnus Hagander wrote:
>> > 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?
>
> You can't portably have a command-line option with an optional argument.

Ugh.

In that case, I'm fine with your suggestion.

--
 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 MauMau 2011-05-22 21:02:22 Re: Do you recommend 8.4 or 9.0 for basic usage?
Previous Message Jim Nasby 2011-05-22 19:23:10 Some PGCon quotes