• A
    Serialize the aggstates while spilling hash table · a6432a4d
    Adam Lee 提交于
    AggStates are now pointers allocated in aggcontext with type INTERNAL,
    just spilling the pointers don't decrease the memory usage and have
    possible memory leak if combining states without free.
    
    This commit serialize the aggstates, write the real data into file and
    free the memory.
    
    (cherry picked from commit 6dadce04)
    a6432a4d
hashagg_spill.out 5.3 KB