Fix bug which prevents repmgrd from starting when the cluster name has

upper case letters.
This commit is contained in:
Martín Marqués
2015-10-06 20:54:28 -03:00
parent 04c751a912
commit fb6781775d

View File

@@ -1834,7 +1834,7 @@ check_cluster_configuration(PGconn *conn)
sqlquery_snprintf(sqlquery,
"SELECT oid FROM pg_class "
" WHERE oid = '%s.repl_nodes'::regclass ",
get_repmgr_schema());
get_repmgr_schema_quoted(master_conn));
res = PQexec(conn, sqlquery);
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{