We're setting up a PostgreSQL cluster, and we're looking at using repmgr to handle standby promotion and so on.
Our cluster has one master and a hot standby, and uses the streaming replication features of PostgreSQL 9.1.
Since we're using streaming replication, writes to the master will no longer go through when the standby fails. So we would like to use
repmgr to not only promote the hot standby when the master fails, but also to use
repmgr to disable streaming replication when the standby fails.
Are there any suggestions on how to do this? All the documentation seems centred around a failure with the master.