aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2008-10-16 19:25:58 +0000
committerNeil Conway <neilc@samurai.com>2008-10-16 19:25:58 +0000
commit6a6f47d00a7505e1b5d562321386253133e05367 (patch)
treef6b3c349b5b7411245b012c5060c427f27f50cf4 /src/backend/access/gist/gistutil.c
parentb9053b1e6a601a8d3ba3379eae11459dbea5e845 (diff)
downloadpostgresql-6a6f47d00a7505e1b5d562321386253133e05367.tar.gz
postgresql-6a6f47d00a7505e1b5d562321386253133e05367.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/gistutil.c')
0 files changed, 0 insertions, 0 deletions