aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2008-10-16 19:26:01 +0000
committerNeil Conway <neilc@samurai.com>2008-10-16 19:26:01 +0000
commit741c3b09666873f5741e85494b102682b08e9ba7 (patch)
tree72943620425e395f72ced7f5903d582d373b76c8 /src/backend/access/gist/gistget.c
parentb55073de28df0b3f401a4589646bb0489a1ceaf7 (diff)
downloadpostgresql-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