diff options
author | Nathan Bossart <nathan@postgresql.org> | 2025-10-16 11:31:38 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2025-10-16 11:31:38 -0500 |
commit | 812221b204276b884d2b14ef56aabd9e1946be81 (patch) | |
tree | 32ff424c42a9cc6bab95515eed99a48808ce242d /src/backend/optimizer/util/inherit.c | |
parent | 41c674d2e31e8304a6edbcb5183d326798ba00f6 (diff) |
Remove partColsUpdated.
This information appears to have been unused since commit
c5b7ba4e67. We could not find any references in third-party code,
either.
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/aO_CyFRpbVMtgJWM%40nathan
Diffstat (limited to 'src/backend/optimizer/util/inherit.c')
-rw-r--r-- | src/backend/optimizer/util/inherit.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/backend/optimizer/util/inherit.c b/src/backend/optimizer/util/inherit.c index 856d5959d10..6d5225079f8 100644 --- a/src/backend/optimizer/util/inherit.c +++ b/src/backend/optimizer/util/inherit.c @@ -335,16 +335,6 @@ expand_partitioned_rtentry(PlannerInfo *root, RelOptInfo *relinfo, /* A partitioned table should always have a partition descriptor. */ Assert(partdesc); - /* - * Note down whether any partition key cols are being updated. Though it's - * the root partitioned table's updatedCols we are interested in, - * parent_updatedCols provided by the caller contains the root partrel's - * updatedCols translated to match the attribute ordering of parentrel. - */ - if (!root->partColsUpdated) - root->partColsUpdated = - has_partition_attrs(parentrel, parent_updatedCols, NULL); - /* Nothing further to do here if there are no partitions. */ if (partdesc->nparts == 0) return; |