repmgr: add "--node-id" option to "cluster cleanup"

Implements GitHub #493.
This commit is contained in:
Ian Barwick
2018-09-25 15:54:22 +09:00
parent b660cb9fe4
commit 688337dec3
7 changed files with 74 additions and 19 deletions

View File

@@ -491,8 +491,8 @@ add_monitoring_record(PGconn *primary_conn,
long long unsigned int apply_lag_bytes
);
int get_number_of_monitoring_records_to_delete(PGconn *primary_conn, int keep_history);
bool delete_monitoring_records(PGconn *primary_conn, int keep_history);
int get_number_of_monitoring_records_to_delete(PGconn *primary_conn, int keep_history, int node_id);
bool delete_monitoring_records(PGconn *primary_conn, int keep_history, int node_id);