From e583e2eb40fca791437b1e7f3886319562211551 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 13 Sep 2017 11:30:29 +0900 Subject: [PATCH] "standby switchover": fix error message --- repmgr-action-standby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index 7ff5c93a..d881c521 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -2076,7 +2076,7 @@ do_standby_switchover(void) if (local_node_record.upstream_node_id != remote_node_record.node_id) { log_error(_("local node %i is not a downstream of demotion candidate primary %i"), - local_node_record.upstream_node_id, + local_node_record.node_id, remote_node_record.node_id); PQfinish(local_conn);