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/