]> granicus.if.org Git - postgresql/commit
SQL functions returning pass-by-reference types were copying the results
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Apr 2005 18:04:31 +0000 (18:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Apr 2005 18:04:31 +0000 (18:04 +0000)
commitc8814f4840e0e5e69286b10a5ffbf33be2754ec9
treeebec4144010548cc8bf050e1adcb724ee24229e1
parent7dbded2c9c88eb6b2995abe4e0d6ebcaa9548d43
SQL functions returning pass-by-reference types were copying the results
into the wrong memory context, resulting in a query-lifespan memory leak.
Bug is new in 8.0, I believe.  Per report from Rae Stiening.
src/backend/executor/functions.c