diff --git a/TODO b/TODO index b1b5c38a..811e0037 100644 --- a/TODO +++ b/TODO @@ -71,3 +71,6 @@ Usability improvements * debug output: show some repetitive output only if --verbose flag set to prevent excessive log growth +* repmgr: add interrupt handler, so that if the program is interrupted + while running a backup, an attempt can be made to execute pg_stop_backup() + on the primary, to prevent an orphaned backup state existing. \ No newline at end of file diff --git a/dbutils.c b/dbutils.c index e8eb8544..79c9ad5a 100644 --- a/dbutils.c +++ b/dbutils.c @@ -1075,6 +1075,7 @@ create_node_record(PGconn *conn, char *action, int node, char *type, int upstrea maxlen_snprintf(slot_name_buf, "%s", "NULL"); } + /* XXX convert to placeholder query */ sqlquery_snprintf(sqlquery, "INSERT INTO %s.repl_nodes " " (id, type, upstream_node_id, cluster, "