Skip to content

Commit 9972224

Browse files
committed
pathman: use index for joins when possible (fix)
1 parent 56ea5a8 commit 9972224

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/pg_pathman/pg_pathman.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,7 @@ append_child_relation(PlannerInfo *root, RelOptInfo *rel, Index rti,
657657
cur_ec->ec_members = lappend(cur_ec->ec_members, em);
658658
}
659659
}
660+
childrel->has_eclass_joins = rel->has_eclass_joins;
660661

661662
/* Add child to relids */
662663
rel->relids = bms_add_member(rel->relids, childRTindex);

0 commit comments

Comments
 (0)