-
- Downloads
Remove 'restrictinfojoinid' field from RestrictInfo nodes.
The only place it was being used was as temporary storage in indxpath.c, and the logic was wrong: the same restrictinfo node could get chosen to carry the info for two different joins. Right fix is to return a second list of unjoined-relids parallel to the list of clause groups.
Showing
- src/backend/nodes/copyfuncs.c 1 addition, 2 deletionssrc/backend/nodes/copyfuncs.c
- src/backend/nodes/freefuncs.c 1 addition, 2 deletionssrc/backend/nodes/freefuncs.c
- src/backend/optimizer/path/indxpath.c 75 additions, 33 deletionssrc/backend/optimizer/path/indxpath.c
- src/include/nodes/relation.h 1 addition, 2 deletionssrc/include/nodes/relation.h
Loading
Please register or sign in to comment