diff --git a/repmgr.c b/repmgr.c index ff445257..e7a136da 100644 --- a/repmgr.c +++ b/repmgr.c @@ -906,7 +906,7 @@ do_standby_clone(void) * in pg 9.1 default is to wait for a sync standby to ack, * avoid that by turning off sync rep for this session */ - sqlquery_snprintf(sqlquery, "SET synchronous_commit TO OFF)"); + sqlquery_snprintf(sqlquery, "SET synchronous_commit TO OFF"); res = PQexec(conn, sqlquery); if (PQresultStatus(res) != PGRES_COMMAND_OK) {