repmgrd: include node name in log output

Missed in commit fd52df0.
This commit is contained in:
Ian Barwick
2020-05-12 15:31:47 +09:00
parent 8ee4fac5bb
commit 2f667116d8

View File

@@ -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);