Content-Length: 257481 | pFad | http://github.com/postgrespro/postgres/commit/32ddfaffd1493b27f200afb3919d3fd2e6a200ef

2E nodeSetOp.c: missing additionalsize for BuildTupleHashTable(). · postgrespro/postgres@32ddfaf · GitHub
Skip to content

Commit 32ddfaf

Browse files
committed
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
1 parent 8a96fae commit 32ddfaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/executor/nodeSetOp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ build_hash_table(SetOpState *setopstate)
104104
setopstate->hashfunctions,
105105
node->cmpCollations,
106106
node->numGroups,
107-
0,
107+
sizeof(SetOpStatePerGroupData),
108108
setopstate->ps.state->es_query_cxt,
109109
setopstate->tableContext,
110110
econtext->ecxt_per_tuple_memory,

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/32ddfaffd1493b27f200afb3919d3fd2e6a200ef

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy