]> 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:53:17 +0000 (22:53 -0700)
committerJoe Conway <mail@joeconway.com>
Thu, 10 May 2012 05:53:17 +0000 (22:53 -0700)
commit05a86891232e1bd5e43d559f30bec2fc00131f37
tree3f6f44a1568865ea789148cd82d9a3bec6da1c22
parente7c43ddc266172f409f5d5bb3e571cafe7d14fa2
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