inconvenient compression options in pg_basebackup

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: inconvenient compression options in pg_basebackup
Date: 2011-05-19 21:56:06
Message-ID: 1305842166.3952.36.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Cédric Villemain 2011-05-19 22:16:48 Re: cache estimates, cache access cost
Previous Message Noah Misch 2011-05-19 20:27:51 Re: switch UNLOGGED to LOGGED