Re: pg_basebackup wish list
От | Jeff Janes |
---|---|
Тема | Re: pg_basebackup wish list |
Дата | |
Msg-id | CAMkU=1zzj0et2x9fCqxMGJ6XP-FtMSUwtNQGwF01698FRWQ6uA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pg_basebackup wish list (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
Ответы |
Re: pg_basebackup wish list
Re: pg_basebackup wish list |
Список | pgsql-hackers |
On Tue, Jul 12, 2016 at 10:48 AM, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote: > On 7/12/16 12:53 PM, Jeff Janes wrote: >> The --help message for pg_basebackup says: >> >> -Z, --compress=0-9 compress tar output with given compression level >> >> But -Z0 is then rejected as 'invalid compression level "0"'. The real >> docs do say 1-9, only the --help message has this bug. Trivial patch >> attached. > > pg_dump --help and man page say it supports 0..9. Maybe we should make > that more consistent. pg_dump actually does support -Z0, though. Well, sort of. It outputs plain text. Rather than plain text wrapped in some kind of dummy gzip header, which is what I had naively expected. Is that what -Z0 in pg_basebackup should do as well, just output uncompressed tar data, and not add the ".gz" to the "base.tar" file name? Cheers, Jeff
В списке pgsql-hackers по дате отправления: