Content-Length: 264842 | pFad | http://github.com/postgrespro/postgres/commit/b7fabe80df9a65010bfe5e5d0a979bacebfec382

ED Fixup for nodeAgg.c refactor. · postgrespro/postgres@b7fabe8 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b7fabe80df9a65010bfe5e5d0a979bacebfec382

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy