Skip site navigation (1) Skip section navigation (2)

Re: PL/Python memory leak (Replaces earlier patch from today)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: PL/Python memory leak (Replaces earlier patch from today)
Date: 2002-10-19 22:12:21
Message-ID: 5951.1035065541@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
"Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)uk> writes:
> Adds SPI_freeplan() to the plan object destructor instead of the simple
> pfree() added in version 1.25
> Removes comment in plan object destructor discussing this point
> Adds SPI_freeplan in PLy_spi_prepare() to reclaim plan memory allocated
> in the procedure's context by SPI_prepare()

Applied, along with similar fixes for parallel leakages in plpgsql and
pltcl.

			regards, tom lane

In response to

pgsql-patches by date

Next:From: Barry LindDate: 2002-10-19 22:13:52
Subject: Re: [PATCHES] Anoter JDBC Error
Previous:From: Nigel J. AndrewsDate: 2002-10-19 20:31:33
Subject: PL/Python memory leak (Replaces earlier patch from today)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group