Re: Disable Streaming Replication without restarting either master or slave

Поиск
Список
Период
Сортировка
От François Beausoleil
Тема Re: Disable Streaming Replication without restarting either master or slave
Дата
Msg-id 3F310B08-0E32-4007-976B-CE08D1526355@teksol.info
обсуждение исходный текст
Ответ на Disable Streaming Replication without restarting either master or slave  (Samba <saasira@gmail.com>)
Ответы Re: Disable Streaming Replication without restarting either master or slave  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-general
Hi!

Le 2012-05-29 à 06:18, Samba a écrit :

Is it possible stop/disable streaming replication without stopping or restarting either master or slave servers?

Since stopping or restarting the postgres servers would involve complete invalidation of the connection pool [Java/JEE app server pool] that may take a few minutes before the application becomes usable, it would be great if there is a way we can disable replication [for maintenance reasons like applying patches or upgrades, etc].

Are per-chance looking for pg_xlog_replay_pause() and pg_xlog_replay_resume() ?


Hope that helps!
François Beausoleil

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

Предыдущее
От: Thomas Reiss
Дата:
Сообщение: How to handle ALTER TABLE DROP CONSTRAINT, ADD CONSTRAINT USING INDEX with foreign keys
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: How to handle ALTER TABLE DROP CONSTRAINT, ADD CONSTRAINT USING INDEX with foreign keys