summaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-09 18:51:02 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-09 18:51:02 +0000
commitd3e41cb498b392078c6b99de9970312d018b99a3 (patch)
tree6404460329963a96bca96ddd8f20b050df4ee100 /src/tutorial/basics.source
parent1eef280d6186782b4adfbd6a9cb97413f7c46b8b (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/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions