@@ -1454,7 +1454,7 @@ find_cols_walker(Node *node, FindColsContext *context)
1454
1454
* To implement hashed aggregation, we need a hashtable that stores a
1455
1455
* representative tuple and an array of AggStatePerGroup structs for each
1456
1456
* distinct set of GROUP BY column values. We compute the hash key from the
1457
- * GROUP BY columns. The per-group data is allocated in lookup_hash_entry (),
1457
+ * GROUP BY columns. The per-group data is allocated in initialize_hash_entry (),
1458
1458
* for each entry.
1459
1459
*
1460
1460
* We have a separate hashtable and associated perhash data structure for each
@@ -1551,7 +1551,7 @@ build_hash_table(AggState *aggstate, int setno, long nbuckets)
1551
1551
* at all. Only columns of the first two types need to be stored in the
1552
1552
* hashtable, and getting rid of the others can make the table entries
1553
1553
* significantly smaller. The hashtable only contains the relevant columns,
1554
- * and is packed/unpacked in lookup_hash_entry () / agg_retrieve_hash_table()
1554
+ * and is packed/unpacked in lookup_hash_entries () / agg_retrieve_hash_table()
1555
1555
* into the format of the normal input descriptor.
1556
1556
*
1557
1557
* Additional columns, in addition to the columns grouped by, come from two
@@ -2102,8 +2102,6 @@ initialize_hash_entry(AggState *aggstate, TupleHashTable hashtable,
2102
2102
/*
2103
2103
* Look up hash entries for the current tuple in all hashed grouping sets.
2104
2104
*
2105
- * Be aware that lookup_hash_entry can reset the tmpcontext.
2106
- *
2107
2105
* Some entries may be left NULL if we are in "spill mode". The same tuple
2108
2106
* will belong to different groups for each grouping set, so may match a group
2109
2107
* already in memory for one set and match a group not in memory for another
0 commit comments