]> granicus.if.org Git - postgresql/commit
Do execGrouping.c via expression eval machinery, take two.
authorAndres Freund <andres@anarazel.de>
Fri, 16 Feb 2018 05:55:31 +0000 (21:55 -0800)
committerAndres Freund <andres@anarazel.de>
Fri, 16 Feb 2018 22:38:13 +0000 (14:38 -0800)
commitbf6c614a2f2c58312b3be34a47e7fb7362e07bcb
treebbc91aed13afc3ef3b71bada700322197fe40b69
parentad9a274778d2d88c46b90309212b92ee7fdf9afe
Do execGrouping.c via expression eval machinery, take two.

This has a performance benefit on own, although not hugely so. The
primary benefit is that it will allow for to JIT tuple deforming and
comparator invocations.

Large parts of this were previously committed (773aec7aa), but the
commit contained an omission around cross-type comparisons and was
thus reverted.

Author: Andres Freund
Discussion: https://postgr.es/m/20171129080934.amqqkke2zjtekd4t@alap3.anarazel.de
15 files changed:
src/backend/executor/execExpr.c
src/backend/executor/execExprInterp.c
src/backend/executor/execGrouping.c
src/backend/executor/nodeAgg.c
src/backend/executor/nodeGroup.c
src/backend/executor/nodeRecursiveunion.c
src/backend/executor/nodeSetOp.c
src/backend/executor/nodeSubplan.c
src/backend/executor/nodeUnique.c
src/backend/executor/nodeWindowAgg.c
src/backend/utils/adt/orderedsetaggs.c
src/include/executor/execExpr.h
src/include/executor/executor.h
src/include/executor/nodeAgg.h
src/include/nodes/execnodes.h