-
- Downloads
Deduce equality constraints that are implied by transitivity of
mergejoinable qual clauses, and add them to the query quals. For example, WHERE a = b AND b = c will cause us to add AND a = c. This is necessary to ensure that it's safe to use these variables as interchangeable sort keys, which is something 7.0 knows how to do. Should provide a useful improvement in planning ability, too.
Showing
- src/backend/optimizer/README 184 additions, 4 deletionssrc/backend/optimizer/README
- src/backend/optimizer/path/pathkeys.c 84 additions, 148 deletionssrc/backend/optimizer/path/pathkeys.c
- src/backend/optimizer/plan/initsplan.c 113 additions, 2 deletionssrc/backend/optimizer/plan/initsplan.c
- src/backend/optimizer/plan/planmain.c 12 additions, 2 deletionssrc/backend/optimizer/plan/planmain.c
- src/include/optimizer/paths.h 2 additions, 1 deletionsrc/include/optimizer/paths.h
- src/include/optimizer/planmain.h 3 additions, 1 deletionsrc/include/optimizer/planmain.h
Loading
Please register or sign in to comment