Re: recovery_target_timeline & documentation

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Benoit Lobréau <benoit(dot)lobreau(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: recovery_target_timeline & documentation
Date: 2021-01-05 18:01:12
Message-ID: 336a3c23-6f27-babe-19fe-3c44c9751fe8@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021/01/05 20:18, Benoit Lobréau wrote:
> Hi,
>
> It seems like this part of the documentation was not updated after changing the default value of recovery_target_timeline to latest in  v12.
>
> "The default behavior of recovery is to recover along the same timeline that was current when the base backup was taken. If you wish to recover into some child timeline (that is, you want to return to some state that was itself generated after a recovery attempt), you need to specify the target timeline ID in recovery_target_timeline <https://www.postgresql.org/docs/13/runtime-config-wal.html#GUC-RECOVERY-TARGET-TIMELINE>. You cannot recover into timelines that branched off earlier than the base backup." [1][2]
>
> Here is an attempt to fix that.

Thanks for the patch! This looks good to me. Barring any objection, I will commit it.

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-01-05 18:24:11 Re: macOS SIP, next try
Previous Message Pavel Stehule 2021-01-05 17:59:37 Re: set_config() documentation clarification