repmgr standby follow: add event details

Useful to have a confirmation of which node was followed.
This commit is contained in:
Ian Barwick
2017-07-05 11:36:30 +09:00
parent 2f2a983272
commit a31d66f826
2 changed files with 16 additions and 7 deletions

View File

@@ -721,7 +721,7 @@ monitor_streaming_standby(void)
upstream_node_status = NODE_STATUS_UNKNOWN;
appendPQExpBuffer(&event_details,
_("unable to connect to upstream node %s (node ID: %i)"),
_("unable to connect to upstream node \"%s\" (node ID: %i)"),
upstream_node_info.node_name, upstream_node_info.node_id);
if (upstream_node_info.type == STANDBY)