Re: pg_basebackup wish list - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: pg_basebackup wish list
Date
Msg-id CAHGQGwEE5-znk2o5DgsQrzPwcmdzhWHdDwtCBeoXr0o5Lfx6Jg@mail.gmail.com
Whole thread Raw
In response to Re: pg_basebackup wish list  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On Fri, Jul 29, 2016 at 11:01 PM, Amit Kapila <amit.kapila16@gmail.com> wrote:
> On Thu, Jul 28, 2016 at 7:34 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> On Thu, Jul 28, 2016 at 10:16 PM, Amit Kapila <amit.kapila16@gmail.com> wrote:
>>
>>> I think there is some value in providing
>>> .tar for -Z 0,
>>
>> I was thinking that "-Ft -Z0" is something like an alias of "-Ft".
>> That is, the backup is taken in uncompressed tar format.
>>
>>> however in that case how should we define usage of -F p
>>> -Z 0?  Shall we say with plain format -Z 0 gets ignored or throw error
>>> or do something else?  If first, then I think it is better to mention
>>> the same in docs.
>>
>> ISTM that it's better to ignore that case, like pg_dump -Ft -Z0
>> doesn't throw an error.
>>
>
> Okay, then you can go ahead with your patch.

Thanks for the comment! I pushed the patch.

Regards,

-- 
Fujii Masao



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Changed SRF in targetlist handling
Next
From: Vladimir Sitnikov
Date:
Subject: Re: Slowness of extended protocol