diff options
author | Jeff Davis <jdavis@postgresql.org> | 2020-02-19 10:15:16 -0800 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2020-02-19 10:39:11 -0800 |
commit | 5b618e1f48aecc66e3a9f60289491da520faae19 (patch) | |
tree | e2a3d2e64f6297301b580490a7f98be07a5cd3bc /src/common/jsonapi.c | |
parent | 8021985d791902a9eeda51acdede759fbc67ae01 (diff) | |
download | postgresql-5b618e1f48aecc66e3a9f60289491da520faae19.tar.gz postgresql-5b618e1f48aecc66e3a9f60289491da520faae19.zip |
Minor refactor of nodeAgg.c.
* Separate calculation of hash value from the lookup.
* Split build_hash_table() into two functions.
* Change lookup_hash_entry() to return AggStatePerGroup. That's all
the caller needed, anyway.
These changes are to support the upcoming Disk-based Hash Aggregation
work.
Discussion: https://postgr.es/m/31f5ab871a3ad5a1a91a7a797651f20e77ac7ce3.camel%40j-davis.com
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions