doc: add troubleshooting section to switchover documentation

This commit is contained in:
Ian Barwick
2018-09-25 11:53:36 +09:00
parent 38e3aae053
commit 9439467958
4 changed files with 85 additions and 4 deletions

View File

@@ -2934,11 +2934,11 @@ do_standby_switchover(void)
}
/*
* Check that there's no exclusive backups running on the primary.
* Check that there are no exclusive backups running on the primary.
* We don't want to end up damaging the backup and also leaving the server in an
* state where there's control data saying it's in backup mode but there's no
* backup_label in PGDATA.
* If the DBA wants to do the switchover anyway, he should first stop the
* If the user wants to do the switchover anyway, they should first stop the
* backup that's running.
*/
if (server_in_exclusive_backup_mode(remote_conn) != BACKUP_STATE_NO_BACKUP)