Re: [PATCH] Make pg_basebackup configure and start standby

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
Cc: pgsql-hackers(at)postgresql(dot)org, Hans-Jürgen Schönig <hs(at)cybertec(dot)at>
Subject: Re: [PATCH] Make pg_basebackup configure and start standby
Date: 2012-07-01 16:01:43
Message-ID: CAHGQGwFEA4nxMMob6rDByr6OzmeLjs_02pJ9XRn=VEq5sTCfVQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 2, 2012 at 12:42 AM, Boszormenyi Zoltan <zb(at)cybertec(dot)at> wrote:
> Hi,
>
> 2012-07-01 17:38 keltezéssel, Fujii Masao írta:
>
>> On Sun, Jul 1, 2012 at 8:02 PM, Boszormenyi Zoltan <zb(at)cybertec(dot)at> wrote:
>>>
>>> Hi,
>>>
>>> attached is a patch that does $SUBJECT.
>>>
>>> It's a usability enhancement, to take a backup, write
>>> a minimalistic recovery.conf and start the streaming
>>> standby in one go.
>>>
>>> Comments?
>>
>> Could you add the patch to the next CommitFest?
>
>
> I will.
>
>
>> If the backup is taken from the standby server, the standby's
>> recovery.conf
>> is included in the backup. What happens in this case?
>
>
> As documented, the command line parameters of pg_basebackup
> will be used for recovery.conf. So, the new standby will replicate
> the previous one. Cascading replication works since 9.2.

So pg_basebackup overwrites the recovery.conf which was backed up
from the standby with the recovery.conf which was created by using
the command line parameters of pg_basebackup?

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2012-07-01 16:10:09 Re: [PATCH] Make pg_basebackup configure and start standby
Previous Message Alexander Korotkov 2012-07-01 15:51:54 Re: [PATCH 14/16] Add module to apply changes from an apply-cache using low-level functions