Re: [HACKERS] logical replication read-only slave

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] logical replication read-only slave
Дата
Msg-id 5f7dbc85-a798-7ce7-5ce3-7d8a1913cd86@2ndquadrant.com
обсуждение исходный текст
Ответ на [HACKERS] logical replication read-only slave  ("Maeldron T." <maeldron@gmail.com>)
Список pgsql-hackers
On 6/15/17 11:12, Maeldron T. wrote:
> However, it provides me a safety net that I could not execute writes on
> the slave by accident. Not only I couldn’t do it, I would also receive a
> notification from the software about the attempt as it would throw an
> exception.
> 
> Let’s say I would switch to logical replication of all tables
> Safety net is gone

You can change the permissions on your slave so that you cannot write to
the tables.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: "Maeldron T."
Дата:
Сообщение: [HACKERS] logical replication read-only slave
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] Making server name part of the startup message