Skip to content
Snippets Groups Projects
Commit e034e517 authored by Neil Conway's avatar Neil Conway
Browse files

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().
parent 0e3d5ad4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment