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 74438aa commit 9d1abaeCopy full SHA for 9d1abae
init.c
@@ -335,6 +335,10 @@ try_crossmatch_path(RestrictInfo *restrInfo,
335
336
/* Remove current RestrictInfo from restrict clauses */
337
restrict_clauses = list_delete_ptr(list_copy(extra->restrictlist), restrInfo);
338
+ restrict_clauses = list_concat_unique(restrict_clauses,
339
+ outerrel->baserestrictinfo);
340
341
+ innerrel->baserestrictinfo);
342
343
outer_path = crossmatch_find_cheapest_path(root, joinrel, outerrel);
344
inner_path = crossmatch_find_cheapest_path(root, joinrel, innerrel);
0 commit comments