aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-06-21 17:26:13 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-06-21 17:26:13 -0400
commit66567ab2c674b958ac7fec47f0c830018245e04a (patch)
tree0728ca52a2f98cd9cfa5e1e9e034e31a66982fb6 /src/backend/parser/parse_expr.c
parente1a1e6e19840576e563c5c92bb4cbad621e23170 (diff)
downloadpostgresql-66567ab2c674b958ac7fec47f0c830018245e04a.tar.gz
postgresql-66567ab2c674b958ac7fec47f0c830018245e04a.zip
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.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions