]> 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:51:17 +0000 (22:51 -0700)
committerJoe Conway <mail@joeconway.com>
Thu, 10 May 2012 05:51:17 +0000 (22:51 -0700)
commit5a96a0a8cf8cea3c5737fec9d37a75f012302f60
tree5e83c5bbd4c45c794923c01e24d9db2d79abe69c
parentd02918fc3e67104348dd7ba67b17df6836201ac0
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