mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Change event record type for repmgr standby follow to 'standby_follow' for consistency
This commit is contained in:
4
repmgr.c
4
repmgr.c
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user