repmgr standby follow: main code

This commit is contained in:
Ian Barwick
2017-06-16 21:38:53 +09:00
parent 7b976ef2df
commit 030fdc046b
3 changed files with 335 additions and 7 deletions

View File

@@ -208,6 +208,7 @@ bool update_node_record(PGconn *conn, char *repmgr_action, t_node_info *node_in
bool delete_node_record(PGconn *conn, int node);
bool update_node_record_set_master(PGconn *conn, int this_node_id);
bool update_node_record_status(PGconn *conn, int this_node_id, char *type, int upstream_node_id, bool active);
/* event record functions */
bool create_event_record(PGconn *conn, t_configuration_options *options, int node_id, char *event, bool successful, char *details);