From f2dc0c06824f4361f81e5d866fda4d67f6340da8 Mon Sep 17 00:00:00 2001
From: root <root@localhost.localdomain>
Date: Fri, 16 Oct 2020 04:45:06 -0400
Subject: [PATCH] fix typo in nodeAgg.c

---
 src/backend/executor/nodeAgg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c
index 75e5bbf..255d014 100644
--- a/src/backend/executor/nodeAgg.c
+++ b/src/backend/executor/nodeAgg.c
@@ -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.
 	 */
 	if (hash_mem * 1024L > 4 * partition_mem)
 		*mem_limit = hash_mem * 1024L - partition_mem;
-- 
1.8.3.1

