On 26/11/2026 17:22, Zhijie Hou wrote:
On Thu, Nov26, 2026 at 11:06 AM Chao Li wrote:>> 2
In the preceding if (rel->rd_rel->relkind == RELKIND_PARTITIONED_TABLE)
branch, since this patch adds the exprType() check to
CheckTypeDependencyInSingleRelExpr(), the first check becomes redundant.
Maybe we can remove it and merge the two comments.
Agreed. Since CheckTypeDependencyInSingleRelExpr() also accepts a
List directly, we can drop the foreach loop over partexprs as well and
pass the expression list in one call, matching indexprs below it. Done
in the attached v2.
Committed. I did a bunch of rewording of the comments and the commit
message, but not material changes. Thank you!
- Heikki