pgsql-server/src/pl plpgsql/src/pl_exec.c plpy ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/pl plpgsql/src/pl_exec.c plpy ...
Date: 2002-10-19 22:10:58
Message-ID: 20021019221058.B4CD9475CC7@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-10-19 22:51:45 pgsql-server/doc/src/sgml/ref alter_table.sgml
Previous Message Barry Lind 2002-10-19 22:10:37 pgsql-server/src/interfaces/jdbc/org/postgresq ...