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() ?

http://www.postgresql.org/docs/current/static/functions-admin.html#FUNCTIONS-RECOVERY-CONTROL-TABLE

Hope that helps!
François Beausoleil

Reply via email to