diff options
author | Neil Conway <neilc@samurai.com> | 2008-10-16 19:25:55 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2008-10-16 19:25:55 +0000 |
commit | e034e517a70265a2e7f9552d2a9fd33102d21896 (patch) | |
tree | 7e4abf8c46fa6e7d61c0eebc22a29547e1a90cae /src/backend/access/gist/gistget.c | |
parent | 0e3d5ad477a172c5cb8965ffc5c9298b0e86c466 (diff) | |
download | postgresql-e034e517a70265a2e7f9552d2a9fd33102d21896.tar.gz |
Fix a small memory leak in ExecReScanAgg() in the hashed aggregation case.
In the previous coding, the list of columns that needed to be hashed on
was allocated in the per-query context, but we reallocated every time
the Agg node was rescanned. Since this information doesn't change over
a rescan, just construct the list of columns once during ExecInitAgg().
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions