| 432 | } |
| 433 | |
| 434 | void |
| 435 | add_paths_to_joinrel(PlannerInfo *root, |
| 436 | RelOptInfo *joinrel, |
| 437 | RelOptInfo *outerrel, |
| 438 | RelOptInfo *innerrel, |
| 439 | JoinType jointype, |
| 440 | SpecialJoinInfo *sjinfo, |
| 441 | List *restrictlist) |
| 442 | { |
| 443 | if(add_paths_to_joinrel_hook != NULL) { |
| 444 | add_paths_to_joinrel_hook(root, joinrel, outerrel, innerrel, jointype, sjinfo, restrictlist); |
| 445 | } else { |
| 446 | add_paths_to_join_relation(root, joinrel, outerrel, innerrel, jointype, sjinfo, restrictlist); |
| 447 | } |
| 448 | } |
| 449 | |
| 450 | /* |
| 451 | * We override the param_source_rels heuristic to accept nestloop paths in |
no test coverage detected