Minor fixes related to changes in 56b9ca79

This commit is contained in:
Ian Barwick
2015-12-22 13:35:52 +09:00
parent 3920deb803
commit f2370de2fa

View File

@@ -681,7 +681,6 @@ do_cluster_show(void)
sqlquery_snprintf(sqlquery, sqlquery_snprintf(sqlquery,
"SELECT conninfo, type, name, upstream_node_name" "SELECT conninfo, type, name, upstream_node_name"
" FROM %s.repl_show_nodes", " FROM %s.repl_show_nodes",
get_repmgr_schema_quoted(conn),
get_repmgr_schema_quoted(conn)); get_repmgr_schema_quoted(conn));
res = PQexec(conn, sqlquery); res = PQexec(conn, sqlquery);
@@ -3931,7 +3930,7 @@ create_schema(PGconn *conn)
PQclear(res); PQclear(res);
/* CREATE VIEW repl_status */ /* CREATE VIEW repl_show_nodes */
sqlquery_snprintf(sqlquery, sqlquery_snprintf(sqlquery,
"CREATE VIEW %s.repl_show_nodes AS " "CREATE VIEW %s.repl_show_nodes AS "
"SELECT rn.id, rn.conninfo, rn.type, rn.name, rn.cluster," "SELECT rn.id, rn.conninfo, rn.type, rn.name, rn.cluster,"