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 parent7694665 commit18001c1Copy full SHA for 18001c1
multimaster.c
@@ -3776,6 +3776,16 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
3776
MTM_LOG3("%d: Process utility statement %s",MyProcPid,queryString);
3777
switch (nodeTag(parsetree))
3778
{
3779
+caseT_IndexStmt:
3780
+ {
3781
+IndexStmt*stmt= (IndexStmt*)parsetree;
3782
+if (stmt->concurrent) {
3783
+stmt->concurrent= false;
3784
+elog(WARNING,"Disable concurrent option for index creation");
3785
+}
3786
+break;
3787
3788
+
3789
caseT_TransactionStmt:
3790
3791
TransactionStmt*stmt= (TransactionStmt*)parsetree;
@@ -3791,7 +3801,7 @@ static void MtmProcessUtility(Node *parsetree, const char *queryString,
3801
}
3792
3802
break;
3793
3803
caseTRANS_STMT_PREPARE:
3794
-elog(ERROR,"Two phase commit is not supported by multimaster");
3804
+//elog(ERROR, "Two phase commit is not supported by multimaster");
3795
3805
3796
3806
caseTRANS_STMT_COMMIT_PREPARED:
3797
3807
caseTRANS_STMT_ROLLBACK_PREPARED: