Change event record type for repmgr standby follow to 'standby_follow' for consistency

This commit is contained in:
Ian Barwick
2016-01-19 14:53:16 +09:00
parent be58d6af96
commit 995083d66c

View File

@@ -2288,7 +2288,7 @@ do_standby_follow(void)
create_event_record(master_conn, create_event_record(master_conn,
&options, &options,
options.node, options.node,
"repmgr_follow", "standby_follow",
false, false,
event_details.data); event_details.data);
@@ -2334,6 +2334,8 @@ do_standby_follow(void)
exit(ERR_BAD_CONFIG); exit(ERR_BAD_CONFIG);
} }
/* XXX add event record - possible move from repmgrd? */
PQfinish(master_conn); PQfinish(master_conn);
return; return;