aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeAgg.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-05-13 14:36:26 -0400
committerRobert Haas <rhaas@postgresql.org>2015-05-13 14:36:26 -0400
commit78efd5c1edb59017f06ef96773e64e6539bfbc86 (patch)
tree6d7149bdd88512568fef7244e41cece175f3c18d /src/backend/executor/nodeAgg.c
parent0bb8528b5c738b45d0b65844750588c16bf75c52 (diff)
downloadpostgresql-78efd5c1edb59017f06ef96773e64e6539bfbc86.tar.gz
postgresql-78efd5c1edb59017f06ef96773e64e6539bfbc86.zip
Extend abbreviated key infrastructure to datum tuplesorts.
Andrew Gierth, reviewed by Peter Geoghegan and by me.
Diffstat (limited to 'src/backend/executor/nodeAgg.c')
-rw-r--r--src/backend/executor/nodeAgg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c
index 4a8af7b3a7e..fcb61177c51 100644
--- a/src/backend/executor/nodeAgg.c
+++ b/src/backend/executor/nodeAgg.c
@@ -363,10 +363,6 @@ initialize_aggregates(AggState *aggstate,
* We use a plain Datum sorter when there's a single input column;
* otherwise sort the full tuple. (See comments for
* process_ordered_aggregate_single.)
- *
- * In the future, we should consider forcing the
- * tuplesort_begin_heap() case when the abbreviated key
- * optimization can thereby be used, even when numInputs is 1.
*/
peraggstate->sortstate =
(peraggstate->numInputs == 1) ?