pgsql-server/src/pl plpgsql/src/pl_exec.c plpy ... - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql-server/src/pl plpgsql/src/pl_exec.c plpy ...
Date
Msg-id 20021019221058.B4CD9475CC7@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/10/19 18:10:58

Modified files:
    src/pl/plpgsql/src: pl_exec.c
    src/pl/plpython: plpython.c
    src/pl/tcl     : pltcl.c

Log message:
    Fix within-function memory leaks in the various PLs' interfaces to
    SPI_prepare: they all save the prepared plan into topCxt, and so the
    procCxt copy that's actually returned by SPI_prepare ought to be freed.
    Diagnosis and plpython fix by Nigel Andrews, followup for other PLs
    by Tom Lane.


pgsql-committers by date:

Previous
From: barry@postgresql.org (Barry Lind)
Date:
Subject: pgsql-server/src/interfaces/jdbc/org/postgresq ...
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql-server/doc/src/sgml/ref alter_table.sgml