mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Fixup for nodeAgg.c refactor.
Commit 5b618e1f
made an unintended behavior change.
This commit is contained in:
@ -1287,7 +1287,10 @@ build_hash_tables(AggState *aggstate)
|
|||||||
|
|
||||||
Assert(perhash->aggnode->numGroups > 0);
|
Assert(perhash->aggnode->numGroups > 0);
|
||||||
|
|
||||||
build_hash_table(aggstate, setno, perhash->aggnode->numGroups);
|
if (perhash->hashtable)
|
||||||
|
ResetTupleHashTable(perhash->hashtable);
|
||||||
|
else
|
||||||
|
build_hash_table(aggstate, setno, perhash->aggnode->numGroups);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user