Various minor fixes and code comments

This commit is contained in:
Ian Barwick
2017-05-30 09:30:34 +09:00
parent 4c5f065ef2
commit 2d91413caf
2 changed files with 9 additions and 5 deletions

View File

@@ -1374,7 +1374,7 @@ update_node_record_set_master(PGconn *conn, int this_node_id)
initPQExpBuffer(&query);
appendPQExpBuffer(&query,
" UPDATE repmgr.repl_nodes "
" UPDATE repmgr.nodes "
" SET active = FALSE "
" WHERE type = 'master' "
" AND active IS TRUE ");