merge code for global temporary table(GTT)

This commit is contained in:
wangzhijun
2020-07-29 18:23:11 +08:00
parent 53626285eb
commit 797043b60a
90 changed files with 4479 additions and 295 deletions

View File

@ -1045,6 +1045,11 @@ void ExecCheckXactReadOnly(PlannedStmt *plannedstmt)
if (isTempNamespace(get_rel_namespace(rte->relid))) {
continue;
}
if (get_rel_persistence(rte->relid) == RELPERSISTENCE_GLOBAL_TEMP) {
continue;
}
if (rte->relid == PgxcNodeRelationId && g_instance.attr.attr_storage.IsRoachStandbyCluster &&
u_sess->attr.attr_common.xc_maintenance_mode) {
continue;