inconvenient compression options in pg_basebackup
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-05-19T21:56:06Z
Lists: pgsql-hackers
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. I suggest we add an argument-less option -z that means "compress", and then -Z can be relegated to choosing the compression level.