Re: master and slave at same time

Поиск
Список
Период
Сортировка
От Atul Kumar
Тема Re: master and slave at same time
Дата
Msg-id CA+ONtZ7i8dsP6rnANJzrY7HrL-x4Lz90gQQ0-58_AP5h08+ETA@mail.gmail.com
обсуждение исходный текст
Ответ на master and slave at same time  (Yambu <hyambu@gmail.com>)
Ответы Re: master and slave at same time
Список pgsql-admin
You can use 2 different ports and create 2 instances.

One can act as master and another as slave.

But slave never allow write operation on itself.

If you want both servers to accept write transaction then you should use BDR (postgres) or MMR (Enterprisedb).



Regards 
Atul





On Wednesday, January 6, 2021, Yambu <hyambu@gmail.com> wrote:
Hello

Is it possible to make one server act as master and as a slave at the same time?

This will mean writes are permitted on it.

regards

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

Предыдущее
От: Yambu
Дата:
Сообщение: master and slave at same time
Следующее
От: Yambu
Дата:
Сообщение: Re: master and slave at same time