Re: pgsql: doc: Further clarify how recovery target parameters are applied

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: pgsql: doc: Further clarify how recovery target parameters are applied
Дата
Msg-id CAHGQGwF7tLDk=M5tGZx=ROy_o2-n9fQ5v6-fnzBNF1yWxoEZoA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: doc: Further clarify how recovery target parameters are applied  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: pgsql: doc: Further clarify how recovery target parameters areapplied
Список pgsql-committers
On Mon, Sep 30, 2019 at 10:14 PM Fujii Masao <masao.fujii@gmail.com> wrote:
>
> On Mon, Sep 30, 2019 at 6:10 AM Peter Eisentraut <peter@eisentraut.org> wrote:
> >
> > doc: Further clarify how recovery target parameters are applied
> >
> > Recovery target parameters are all applied even in standby mode.  The
> > previous documentation mostly wished they were not but this was never
> > the case.
>
> Thanks for improving the documentation.
>
> +     In this mode, the parameters from both this section and <xref
> +     linkend="runtime-config-wal-recovery-target"/> will be used.  Parameters
> +     from <xref linkend="runtime-config-replication-standby"/> will not be
> +     used.
>
> The latter description seems not true. hot_standby and
> max_standby_archive_delay in "runtime-config-replication-standby"
> are used during archive recovery. So something like the following
> change would need to be applied, I think. Patch attached.
>
>       In this mode, the parameters from both this section and <xref
>       linkend="runtime-config-wal-recovery-target"/> will be used.  Parameters
>       from <xref linkend="runtime-config-replication-standby"/> will not be
> -     used.
> +     used (<varname>hot_standby</varname> and
> +     <varname>max_standby_archive_delay</varname>).
>      </para>

In the above change, I forgot to add "except" before "<varname>hot_standby"...

Now, not only hot_standby and max_standby_archive_delay but also
recovery_min_apply_delay from
<xref linkend="runtime-config-replication-standby"/> can be used in
archive recovery, thanks to commit ec1259e880. So I'm just inclined to
remove the description "Parameters from
<xref linkend="runtime-config-replication-standby"/> will not be used."
rather than to list all "exceptive" parameters.

Regards,

-- 
Fujii Masao



В списке pgsql-committers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: Fix failure of archive recovery with recovery_min_apply_delay en
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Remove last traces of heap_open/close in the tree