Fix thinko in previous commit

This commit is contained in:
Alvaro Herrera 2018-12-28 15:18:00 -03:00
parent e8b0e6b82d
commit 4ed6c071b8

View File

@ -1875,8 +1875,8 @@ ExecPartitionCheckEmitError(ResultRelInfo *resultRelInfo,
tupdesc = RelationGetDescr(resultRelInfo->ri_RelationDesc);
}
modifiedCols = bms_add_members(GetInsertedColumns(resultRelInfo, estate),
GetUpdatedColumns(resultRelInfo, estate));
modifiedCols = bms_union(GetInsertedColumns(resultRelInfo, estate),
GetUpdatedColumns(resultRelInfo, estate));
val_desc = ExecBuildSlotValueDescription(root_relid,
slot,