From 487aadc4b9be1c85dbeeea9e6d1f259e4f831573 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 13 Nov 2015 14:51:27 +0900 Subject: [PATCH] Add TODO items --- TODO | 3 +++ dbutils.c | 1 + 2 files changed, 4 insertions(+) diff --git a/TODO b/TODO index 30cd91db..d8a18636 100644 --- a/TODO +++ b/TODO @@ -64,3 +64,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, "