repmgr: various fixes for "master unregister"

This commit is contained in:
Ian Barwick
2017-06-11 23:27:37 +09:00
parent fef184ce9a
commit aa53514f9f
5 changed files with 83 additions and 19 deletions

View File

@@ -188,6 +188,7 @@ const char * get_node_type_string(t_server_type type);
int get_node_record(PGconn *conn, int node_id, t_node_info *node_info);
int get_node_record_by_name(PGconn *conn, const char *node_name, t_node_info *node_info);
bool get_local_node_record(PGconn *conn, int node_id, t_node_info *node_info);
bool get_master_node_record(PGconn *conn, t_node_info *node_info);
bool create_node_record(PGconn *conn, char *repmgr_action, t_node_info *node_info);