diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-09 18:50:45 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-09 18:50:45 +0000 |
commit | 06421ecd4d875af771fd34dfca08bdb5360707e9 (patch) | |
tree | 40aaaa141ec1940acadb23238b0f4af9f1ba43e6 /src/backend/access/gist | |
parent | 415cf7dc868848a554a492749e640af421e77707 (diff) | |
download | postgresql-06421ecd4d875af771fd34dfca08bdb5360707e9.tar.gz postgresql-06421ecd4d875af771fd34dfca08bdb5360707e9.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/access/gist')
0 files changed, 0 insertions, 0 deletions