aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_userfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-09 18:50:11 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-09 18:50:11 +0000
commit46af71ff7eadc62ebc9a5d7e0289b02d05887d54 (patch)
tree910ad55ea42dfc23f961ff2635aedb0663985d4b /src/backend/utils/adt/array_userfuncs.c
parent477319829c2e7dd5097fe480c803265cba02aede (diff)
downloadpostgresql-46af71ff7eadc62ebc9a5d7e0289b02d05887d54.tar.gz
postgresql-46af71ff7eadc62ebc9a5d7e0289b02d05887d54.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/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions