aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/sql-array.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-09 18:50:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-09 18:50:29 +0000
commit63c232b505da702e179281abbf49c74923fda590 (patch)
tree74d6efdff096fb8e1824eb4b07396beea3a4054b /src/interfaces/ecpg/test/expected/sql-array.c
parent4e49ea084e190eb43561e96fa32a580e0054d9b5 (diff)
downloadpostgresql-63c232b505da702e179281abbf49c74923fda590.tar.gz
postgresql-63c232b505da702e179281abbf49c74923fda590.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/interfaces/ecpg/test/expected/sql-array.c')
0 files changed, 0 insertions, 0 deletions