Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit32ddfaf

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 thecorrect additionalsize.Discussion:https://postgr.es/m/7530bd8783b1a78d53a3c70383e38d8da0a5ffe5.camel%40j-davis.com
1 parent8a96fae commit32ddfaf

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)

[8]ページ先頭

©2009-2025 Movatter.jp