mirror of https://github.com/citusdata/citus.git
Mark RowModifyLevel for Merge command accurately
It seems like an oversight from earlier commits. Accurate RowModifyLevel helps the executor acquire proper locks on RowModifyLevelForQuery.pull/6673/head
parent
ab71cd01ee
commit
ad87d44c03
|
@ -4628,7 +4628,8 @@ RowModifyLevelForQuery(Query *query)
|
|||
}
|
||||
|
||||
if (commandType == CMD_UPDATE ||
|
||||
commandType == CMD_DELETE)
|
||||
commandType == CMD_DELETE ||
|
||||
commandType == CMD_MERGE /* PG15+ */)
|
||||
{
|
||||
return ROW_MODIFY_NONCOMMUTATIVE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue