postgresql/src/include/nodes
Tom Lane d14241c2cf Fix memory leak in ARRAY(SELECT ...) subqueries.
Repeated execution of an uncorrelated ARRAY_SUBLINK sub-select (which
I think can only happen if the sub-select is embedded in a larger,
correlated subquery) would leak memory for the duration of the query,
due to not reclaiming the array generated in the previous execution.
Per bug #6698 from Armando Miraglia.  Diagnosis and fix idea by Heikki,
patch itself by me.

This has been like this all along, so back-patch to all supported versions.
2012-06-21 17:27:19 -04:00
..
bitmapset.h Use parameterized paths to generate inner indexscans more flexibly. 2012-01-27 19:26:38 -05:00
execnodes.h Fix memory leak in ARRAY(SELECT ...) subqueries. 2012-06-21 17:27:19 -04:00
makefuncs.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
memnodes.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
nodeFuncs.h Code review for protransform patches. 2012-03-23 17:29:57 -04:00
nodes.h Revise parameterized-path mechanism to fix assorted issues. 2012-04-19 15:53:47 -04:00
params.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
parsenodes.h Refer to the default foreign key match style as MATCH SIMPLE internally. 2012-06-17 20:16:44 -04:00
pg_list.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
plannodes.h Add some infrastructure for contrib/pg_stat_statements. 2012-03-27 15:17:40 -04:00
primnodes.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
print.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
readfuncs.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
relation.h Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
replnodes.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tidbitmap.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
value.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00