diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/pgxc/plan/planner.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/pgxc/plan/planner.c b/src/backend/pgxc/plan/planner.c index 8ef63d8a88..7cd46d8e0b 100644 --- a/src/backend/pgxc/plan/planner.c +++ b/src/backend/pgxc/plan/planner.c @@ -1984,10 +1984,9 @@ validate_part_col_updatable(const Query *query) /* See if we have the partitioned case. */ rel_loc_info = GetRelationLocInfo(rte->relid); + /* Any column updation on local relations is fine */ if (!rel_loc_info) - ereport(ERROR, - (errcode(ERRCODE_STATEMENT_TOO_COMPLEX), - (errmsg("Could not find relation for oid = %d", rte->relid)))); + return; /* Only LOCATOR_TYPE_HASH & LOCATOR_TYPE_MODULO should be checked */ |