-
- Downloads
Repair planning bugs caused by my misguided removal of restrictinfo link
fields in JoinPaths --- turns out that we do need that after all :-(. Also, rearrange planner so that only one RelOptInfo is created for a particular set of joined base relations, no matter how many different subsets of relations it can be created from. This saves memory and processing time compared to the old method of making a bunch of RelOptInfos and then removing the duplicates. Clean up the jointree iteration logic; not sure if it's better, but I sure find it more readable and plausible now, particularly for the case of 'bushy plans'.
Showing
- src/backend/nodes/copyfuncs.c 3 additions, 2 deletionssrc/backend/nodes/copyfuncs.c
- src/backend/nodes/equalfuncs.c 3 additions, 1 deletionsrc/backend/nodes/equalfuncs.c
- src/backend/nodes/freefuncs.c 6 additions, 2 deletionssrc/backend/nodes/freefuncs.c
- src/backend/nodes/outfuncs.c 21 additions, 33 deletionssrc/backend/nodes/outfuncs.c
- src/backend/nodes/readfuncs.c 15 additions, 48 deletionssrc/backend/nodes/readfuncs.c
- src/backend/optimizer/README 79 additions, 69 deletionssrc/backend/optimizer/README
- src/backend/optimizer/geqo/geqo_eval.c 15 additions, 46 deletionssrc/backend/optimizer/geqo/geqo_eval.c
- src/backend/optimizer/geqo/geqo_misc.c 2 additions, 2 deletionssrc/backend/optimizer/geqo/geqo_misc.c
- src/backend/optimizer/path/Makefile 2 additions, 3 deletionssrc/backend/optimizer/path/Makefile
- src/backend/optimizer/path/allpaths.c 97 additions, 95 deletionssrc/backend/optimizer/path/allpaths.c
- src/backend/optimizer/path/costsize.c 50 additions, 17 deletionssrc/backend/optimizer/path/costsize.c
- src/backend/optimizer/path/joinpath.c 187 additions, 147 deletionssrc/backend/optimizer/path/joinpath.c
- src/backend/optimizer/path/joinrels.c 179 additions, 315 deletionssrc/backend/optimizer/path/joinrels.c
- src/backend/optimizer/path/prune.c 0 additions, 109 deletionssrc/backend/optimizer/path/prune.c
- src/backend/optimizer/path/tidpath.c 10 additions, 10 deletionssrc/backend/optimizer/path/tidpath.c
- src/backend/optimizer/plan/createplan.c 3 additions, 3 deletionssrc/backend/optimizer/plan/createplan.c
- src/backend/optimizer/plan/initsplan.c 3 additions, 2 deletionssrc/backend/optimizer/plan/initsplan.c
- src/backend/optimizer/plan/planmain.c 2 additions, 2 deletionssrc/backend/optimizer/plan/planmain.c
- src/backend/optimizer/util/pathnode.c 90 additions, 78 deletionssrc/backend/optimizer/util/pathnode.c
- src/backend/optimizer/util/relnode.c 358 additions, 59 deletionssrc/backend/optimizer/util/relnode.c
Loading
Please register or sign in to comment