diff options
author | Neil Conway <neilc@samurai.com> | 2008-10-16 19:26:01 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2008-10-16 19:26:01 +0000 |
commit | 741c3b09666873f5741e85494b102682b08e9ba7 (patch) | |
tree | 72943620425e395f72ced7f5903d582d373b76c8 /src/backend/access/gist/gistget.c | |
parent | b55073de28df0b3f401a4589646bb0489a1ceaf7 (diff) | |
download | postgresql-741c3b09666873f5741e85494b102682b08e9ba7.tar.gz postgresql-741c3b09666873f5741e85494b102682b08e9ba7.zip |
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