mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
nodeSetOp.c: missing additionalsize for BuildTupleHashTable().
Provide additionalsize argument, which can affect the calculations for 'nbuckets'. Also, future work for Hash Aggregation will rely on the correct additionalsize. Discussion: https://postgr.es/m/7530bd8783b1a78d53a3c70383e38d8da0a5ffe5.camel%40j-davis.com
This commit is contained in:
parent
8a96faedc4
commit
32ddfaffd1
@ -104,7 +104,7 @@ build_hash_table(SetOpState *setopstate)
|
|||||||
setopstate->hashfunctions,
|
setopstate->hashfunctions,
|
||||||
node->cmpCollations,
|
node->cmpCollations,
|
||||||
node->numGroups,
|
node->numGroups,
|
||||||
0,
|
sizeof(SetOpStatePerGroupData),
|
||||||
setopstate->ps.state->es_query_cxt,
|
setopstate->ps.state->es_query_cxt,
|
||||||
setopstate->tableContext,
|
setopstate->tableContext,
|
||||||
econtext->ecxt_per_tuple_memory,
|
econtext->ecxt_per_tuple_memory,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user