Re: replay pause vs. standby promotion

Поиск
Список
Период
Сортировка
От Jehan-Guillaume de Rorthais
Тема Re: replay pause vs. standby promotion
Дата
Msg-id 20200304154019.707040ec@firost
обсуждение исходный текст
Ответ на Re: replay pause vs. standby promotion  (Sergei Kornilov <sk@zsrv.org>)
Ответы Re: replay pause vs. standby promotion  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers
On Wed, 04 Mar 2020 15:00:54 +0300
Sergei Kornilov <sk@zsrv.org> wrote:

> Hello
> 
> > I want to start this discussion because this is related to the patch
> > (propoesd at the thread [1]) that I'm reviewing. It does that partially,
> > i.e., prefers the promotion only when the pause is requested by
> > recovery_target_action=pause. But I think that it's reasonable and
> > more consistent to do that whether whichever the pause is requested
> > by pg_wal_replay_pause() or recovery_target_action.  
> 
> +1.

+1

And pg_wal_replay_pause () should probably raise an error explaining the
standby ignores the pause because of ongoing promotion.



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

Предыдущее
От: Georgios Kokolatos
Дата:
Сообщение: Re: Refactor compile-time assertion checks for C/C++
Следующее
От: David Steele
Дата:
Сообщение: Re: Some improvements to numeric sqrt() and ln()