Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4868a4f

Browse files
knizhnikkelvich
authored andcommitted
Fix error message
1 parent 2332ab5 commit 4868a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2781,7 +2781,7 @@ static void MtmBroadcastUtilityStmt(char const* sql, bool ignoreError)
27812781
do {
27822782
PQfinish(conns[i]);
27832783
} while (--i >= 0);
2784-
elog(ERROR, "Failed to establish connection '%s' to node %d", Mtm->nodes[i].con.connStr, failedNode);
2784+
elog(ERROR, "Failed to establish connection '%s' to node %d", Mtm->nodes[failedNode].con.connStr, failedNode);
27852785
}
27862786
}
27872787
PQsetNoticeReceiver(conns[i], MtmNoticeReceiver, &i);

0 commit comments

Comments
 (0)