From de634eb593fb2ec8507a194611b1a22bc37225ff Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 12 May 2020 15:31:47 +0900 Subject: [PATCH] repmgrd: include node name in log output Missed in commit fd52df0. --- repmgrd-physical.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repmgrd-physical.c b/repmgrd-physical.c index 9052bc4c..7851a060 100644 --- a/repmgrd-physical.c +++ b/repmgrd-physical.c @@ -3523,7 +3523,8 @@ promote_self(void) { PQExpBufferData event_details; - log_notice(_("original primary (ID: %i) reappeared before this standby was promoted - no action taken"), + log_notice(_("original primary \"%s\" (ID: %i) reappeared before this standby was promoted - no action taken"), + failed_primary.node_name, failed_primary.node_id); initPQExpBuffer(&event_details);