Possible typo in nodeAgg.c

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Possible typo in nodeAgg.c

Hou, Zhijie
Hi

In /src/backend/executor/nodeAgg.c

I found the following comment still use work mem,
Since hash_mem has been introduced, Is it more accurate to use hash_mem here ?

@@ -1827,7 +1827,7 @@ hash_agg_set_limits(double hashentrysize, double input_groups, int used_bits,
  /*
  * Don't set the limit below 3/4 of hash_mem. In that case, we are at the
  * minimum number of partitions, so we aren't going to dramatically exceed
- * work mem anyway.
+ * hash_mem anyway.

Best regards,
houzj



0001-fix-typo-in-nodeAgg.c.patch (1K) Download Attachment