From fb6781775dc649da18cd59ff24317f045dd831ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Marqu=C3=A9s?= Date: Tue, 6 Oct 2015 20:54:28 -0300 Subject: [PATCH] Fix bug which prevents repmgrd from starting when the cluster name has upper case letters. --- repmgrd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgrd.c b/repmgrd.c index 38f54105..b7ccd4be 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -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) {