Re: inconvenient compression options in pg_basebackup

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-05-20T21:45:18Z
Lists: pgsql-hackers
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.