aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-09 18:50:54 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-09 18:50:54 +0000
commitd0844a851f43b5a06815304a0291bddccf3a99dc (patch)
treef50343dbfbfb671a1e0adf3578100a7665af4d3f /src/backend/commands/async.c
parent2f7cd4356b1b95b935581477a9495003f589fc83 (diff)
downloadpostgresql-d0844a851f43b5a06815304a0291bddccf3a99dc.tar.gz
postgresql-d0844a851f43b5a06815304a0291bddccf3a99dc.zip
Fix incorrect logic in plpgsql for cleanup after evaluation of non-simple
expressions. We need to deal with this when handling subscripts in an array assignment, and also when catching an exception. In an Assert-enabled build these omissions led to Assert failures, but I think in a normal build the only consequence would be short-term memory leakage; which may explain why this wasn't reported from the field long ago. Back-patch to all supported versions. 7.4 doesn't have exceptions, but otherwise these bugs go all the way back. Heikki Linnakangas and Tom Lane
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions