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

Commit f8a7766

Browse files
committed
Fix error message
1 parent 19265fb commit f8a7766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/mmts/multimaster.c

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

0 commit comments

Comments
 (0)