Re: Sync Rep Design

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Sync Rep Design
Дата
Msg-id 1293757673.1892.28980.camel@ebony
обсуждение исходный текст
Ответ на Re: Sync Rep Design  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Thu, 2010-12-30 at 16:27 -0500, Robert Haas wrote:

> I think it's a bad idea to use the same parameter to mean different
> things on the master and standby.  

Obviously if you phrase it like that, nobody would disagree. I would say
I have used the same parameter on both sides in a balanced way to
simplify the configuration, which had been an important factor in the
debate.

"You need to set parameter X on both primary and standby" seems simple
and clear. It certainly works OK for MySQL.

It's no bother to change, whichever way we decide and I'm happy to do
so.

My previous patch had two parameters:

primary: synchronous_replication = ...
standby: synchronous_replication_service = on | off

Which do people prefer?

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Sync Rep Design
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Sync Rep Design