mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Minor fixes related to changes in 56b9ca79
This commit is contained in:
5
repmgr.c
5
repmgr.c
@@ -681,7 +681,6 @@ do_cluster_show(void)
|
||||
sqlquery_snprintf(sqlquery,
|
||||
"SELECT conninfo, type, name, upstream_node_name"
|
||||
" FROM %s.repl_show_nodes",
|
||||
get_repmgr_schema_quoted(conn),
|
||||
get_repmgr_schema_quoted(conn));
|
||||
|
||||
res = PQexec(conn, sqlquery);
|
||||
@@ -3909,7 +3908,7 @@ create_schema(PGconn *conn)
|
||||
}
|
||||
PQclear(res);
|
||||
|
||||
|
||||
|
||||
/* an index to improve performance of the view */
|
||||
sqlquery_snprintf(sqlquery,
|
||||
"CREATE INDEX idx_repl_status_sort "
|
||||
@@ -3931,7 +3930,7 @@ create_schema(PGconn *conn)
|
||||
PQclear(res);
|
||||
|
||||
|
||||
/* CREATE VIEW repl_status */
|
||||
/* CREATE VIEW repl_show_nodes */
|
||||
sqlquery_snprintf(sqlquery,
|
||||
"CREATE VIEW %s.repl_show_nodes AS "
|
||||
"SELECT rn.id, rn.conninfo, rn.type, rn.name, rn.cluster,"
|
||||
|
||||
Reference in New Issue
Block a user