Re: inconvenient compression options in pg_basebackup
Magnus Hagander <magnus@hagander.net>
From: Magnus Hagander <magnus@hagander.net>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-05-20T18:19:42Z
Lists: pgsql-hackers
On Thu, May 19, 2011 at 17:56, Peter Eisentraut <peter_e@gmx.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/