]> granicus.if.org Git - postgresql/commit
PL/pgSQL RETURN NEXT was leaking converted tuples, causing
authorJoe Conway <mail@joeconway.com>
Thu, 10 May 2012 05:57:19 +0000 (22:57 -0700)
committerJoe Conway <mail@joeconway.com>
Thu, 10 May 2012 05:57:19 +0000 (22:57 -0700)
commitb58bacdacbb15948cf24c786ebbb92213a2fe013
tree054782dedee44dcef2319377c12c59ac13e9d562
parentfd71421b0187de0e2bf76ff66b4a9433bd96c4a0
PL/pgSQL RETURN NEXT was leaking converted tuples, causing
out of memory when looping through large numbers of rows.
Flag the converted tuples to be freed. Complaint and patch
by Joe.
src/pl/plpgsql/src/pl_exec.c