diff --git a/repmgr.c b/repmgr.c index f647d189..b09e8703 100644 --- a/repmgr.c +++ b/repmgr.c @@ -1122,7 +1122,7 @@ do_cluster_matrix(void) sqlquery_snprintf(sqlquery, "SELECT conninfo, type, name, upstream_node_name, id" - " FROM %s.repl_show_nodes", + " FROM %s.repl_show_nodes ORDER BY id", get_repmgr_schema_quoted(conn)); log_verbose(LOG_DEBUG, "do_cluster_show(): \n%s\n",sqlquery );