diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-09 18:50:37 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-09 18:50:37 +0000 |
commit | c895b59e2743cc4dee0f583576fce5f16967c18d (patch) | |
tree | b397be568d8f464440aef2390a74b6d772b04f75 /src/backend/utils/init/miscinit.c | |
parent | 5f836f9acbf185e64929bdacea1a90139704d689 (diff) |
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/utils/init/miscinit.c')
0 files changed, 0 insertions, 0 deletions