-
- Downloads
Make SubPlan nodes carry the result's typmod as well as datatype OID. This is
for consistency with the (relatively) recent addition of typmod to SubLink. An example of why it's a good idea is to be seen in the recent "failed to locate grouping columns" bug, which wouldn't have happened if a SubPlan exposed the same typmod info as the SubLink it was derived from. This could be back-patched, since it doesn't affect any on-disk data format, but for the moment it doesn't seem necessary to do so.
Showing
- src/backend/nodes/copyfuncs.c 2 additions, 1 deletionsrc/backend/nodes/copyfuncs.c
- src/backend/nodes/equalfuncs.c 2 additions, 1 deletionsrc/backend/nodes/equalfuncs.c
- src/backend/nodes/nodeFuncs.c 30 additions, 10 deletionssrc/backend/nodes/nodeFuncs.c
- src/backend/nodes/outfuncs.c 2 additions, 1 deletionsrc/backend/nodes/outfuncs.c
- src/backend/optimizer/plan/subselect.c 17 additions, 12 deletionssrc/backend/optimizer/plan/subselect.c
- src/include/nodes/primnodes.h 2 additions, 1 deletionsrc/include/nodes/primnodes.h
Loading
Please register or sign in to comment