mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 08:56:29 +00:00
Minor fixes related to changes in 56b9ca79
This commit is contained in:
3
repmgr.c
3
repmgr.c
@@ -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,"
|
||||||
|
|||||||
Reference in New Issue
Block a user