From ec998bf9c58220a435a031d52e89be6529c8a08c Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 9 Feb 2018 11:42:16 +0900 Subject: [PATCH] doc: update HISTORY and release notes --- repmgr-action-standby.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index b7068e38..82a1a56e 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -2620,7 +2620,6 @@ do_standby_switchover(void) PGconn *remote_conn = NULL; t_node_info local_node_record = T_NODE_INFO_INITIALIZER; - int server_version_num = UNKNOWN_SERVER_VERSION_NUM; /* the remote server is the primary to be demoted */ char remote_conninfo[MAXCONNINFO] = ""; @@ -2686,8 +2685,6 @@ do_standby_switchover(void) exit(ERR_BAD_CONFIG); } - server_version_num = get_server_version(local_conn, NULL); - if (runtime_options.dry_run == true) { log_notice(_("checking switchover on node \"%s\" (ID: %i) in --dry-run mode"),