-
- Downloads
Modify nodeAgg.c so that no rows are returned for a GROUP BY
with no input rows, per pghackers discussions around 7/22/99. Clean up a bunch of ugly coding while at it; remove redundant re-lookup of aggregate info at start of each new GROUP. Arrange to pfree intermediate values when they are pass-by-ref types, so that aggregates on pass-by-ref types no longer eat memory. This takes care of a couple of TODO items...
Showing
- src/backend/executor/execQual.c 6 additions, 8 deletionssrc/backend/executor/execQual.c
- src/backend/executor/nodeAgg.c 412 additions, 385 deletionssrc/backend/executor/nodeAgg.c
- src/backend/utils/adt/float.c 23 additions, 18 deletionssrc/backend/utils/adt/float.c
- src/include/nodes/execnodes.h 11 additions, 5 deletionssrc/include/nodes/execnodes.h
Loading
Please register or sign in to comment