Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

PostgreSQL: Removing standby from streaming replication

$
0
0

I have PostgreSQL 9.4 streaming replication setup between three nodes (master and two hot standbys). I use repmgr to control the replication cluster. I need to retire one of the standbys and remove it from the replication set. I'd like to keep the data on that standby. I use replication slots.

My question is: what is the preferred way of removing a standby node from the replication set? There is a standby unregister command in repmgr but it will only remove the node from repmgr's catalog and won't touch the actual replication setup.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>