We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa400cc commit 80f0e3bCopy full SHA for 80f0e3b
src/backend/optimizer/path/equivclass.c
@@ -852,7 +852,8 @@ find_computable_ec_member(PlannerInfo *root,
852
exprvars = pull_var_clause((Node *) exprs,
853
PVC_INCLUDE_AGGREGATES |
854
PVC_INCLUDE_WINDOWFUNCS |
855
- PVC_INCLUDE_PLACEHOLDERS);
+ PVC_INCLUDE_PLACEHOLDERS |
856
+ PVC_INCLUDE_CONVERTROWTYPES);
857
858
foreach(lc, ec->ec_members)
859
{
@@ -880,7 +881,8 @@ find_computable_ec_member(PlannerInfo *root,
880
881
emvars = pull_var_clause((Node *) em->em_expr,
882
883
884
+ PVC_INCLUDE_PLACEHOLDERS|
885
886
foreach(lc2, emvars)
887
888
if (!list_member(exprvars, lfirst(lc2)))
0 commit comments