mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 16:16:29 +00:00
Fix a typo introduced in commit cb764b180d
This commit is contained in:
2
repmgr.c
2
repmgr.c
@@ -900,7 +900,7 @@ do_standby_clone(void)
|
|||||||
* in pg 9.1 default is to wait for a sync standby to ack,
|
* in pg 9.1 default is to wait for a sync standby to ack,
|
||||||
* avoid that by turning off sync rep for this session
|
* 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);
|
res = PQexec(conn, sqlquery);
|
||||||
if (PQresultStatus(res) != PGRES_COMMAND_OK)
|
if (PQresultStatus(res) != PGRES_COMMAND_OK)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user