Re: [patch] demote

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [patch] demote
Дата
Msg-id 20200618171533.fc7m52zupa3pesma@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [patch] demote  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers
Hi,

On 2020-06-18 21:41:45 +0900, Fujii Masao wrote:
> ISTM that a clean switchover is possible without "ALTER SYSTEM READ ONLY".
> What about the following procedure?
> 
> 1. Demote the primary to a standby. Then this demoted standby is read-only.

As far as I can tell this step includes ALTER SYSTEM READ ONLY. Sure you
can choose not to expose ASRO to the user separately from demote, but
that's a miniscule part of the complexity.

Greetings,

Andres Freund



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [patch] demote
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [patch] demote