We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentbf78c9e commit80daa6bCopy full SHA for 80daa6b
contrib/mmts/multimaster.c
@@ -3897,7 +3897,7 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
3897
caseT_IndexStmt:
3898
{
3899
IndexStmt*indexStmt= (IndexStmt*)parsetree;
3900
-if (indexStmt->concurrent&& !IsTransactionBlock())
+if (indexStmt->concurrent&& !IsTransactionBlock()&& !MtmTx.isReplicated)
3901
3902
skipCommand= true;
3903
MtmProcessDDLCommand(queryString, false);
@@ -3909,7 +3909,7 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
3909
caseT_DropStmt:
3910
3911
DropStmt*stmt= (DropStmt*)parsetree;
3912
-if (stmt->removeType==OBJECT_INDEX&&stmt->concurrent&& !IsTransactionBlock())
+if (stmt->removeType==OBJECT_INDEX&&stmt->concurrent&& !IsTransactionBlock()&& !MtmTx.isReplicated)
3913
3914
3915