Thread: pgsql/src/pl/plpgsql/src pl_exec.c plpgsql.h

pgsql/src/pl/plpgsql/src pl_exec.c plpgsql.h

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/08/02 17:31:23

Modified files:
    src/pl/plpgsql/src: pl_exec.c plpgsql.h

Log message:
    Clean up various memory leaks within plpgsql, and re-enable the
    exec_eval_simple_expr shortcut, which was diked out in 7.1 because it
    leaked too much space.  CVS tip now leaks no memory in Chris Ruprecht's
    example, which formerly leaked to the tune of 500 MB.  (Much of this
    is work that Jan already did; this commit just cleans up around the
    edges.)