summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2008-10-16 19:25:55 +0000
committerNeil Conway <neilc@samurai.com>2008-10-16 19:25:55 +0000
commite034e517a70265a2e7f9552d2a9fd33102d21896 (patch)
tree7e4abf8c46fa6e7d61c0eebc22a29547e1a90cae /src/backend/access/gist/gistget.c
parent0e3d5ad477a172c5cb8965ffc5c9298b0e86c466 (diff)
downloadpostgresql-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