Skip to content

Commit b7fabe8

Browse files
committed
Fixup for nodeAgg.c refactor.
Commit 5b618e1 made an unintended behavior change.
1 parent 032f9ae commit b7fabe8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/executor/nodeAgg.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,10 @@ build_hash_tables(AggState *aggstate)
12871287

12881288
Assert(perhash->aggnode->numGroups > 0);
12891289

1290-
build_hash_table(aggstate, setno, perhash->aggnode->numGroups);
1290+
if (perhash->hashtable)
1291+
ResetTupleHashTable(perhash->hashtable);
1292+
else
1293+
build_hash_table(aggstate, setno, perhash->aggnode->numGroups);
12911294
}
12921295
}
12931296

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy