Commit 0355e6f3 authored by Robert Haas's avatar Robert Haas

Repair commit b81b5a96.

This commit purported to use a variable hash seed for Partial
HashAggregate, but actually did the opposite - it made us use a
variable seed for any HashAggregate that is NOT partial.  Woops.
parent e5b7451e
...@@ -1738,7 +1738,7 @@ build_hash_table(AggState *aggstate) ...@@ -1738,7 +1738,7 @@ build_hash_table(AggState *aggstate)
additionalsize, additionalsize,
aggstate->aggcontexts[0]->ecxt_per_tuple_memory, aggstate->aggcontexts[0]->ecxt_per_tuple_memory,
tmpmem, tmpmem,
!DO_AGGSPLIT_SKIPFINAL(aggstate->aggsplit)); DO_AGGSPLIT_SKIPFINAL(aggstate->aggsplit));
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment