PL/Python memory leak (Replaces earlier patch from today) - Mailing list pgsql-patches

From Nigel J. Andrews
Subject PL/Python memory leak (Replaces earlier patch from today)
Date
Msg-id Pine.LNX.4.21.0210192126230.26324-200000@ponder.fairway2k.co.uk
Whole thread Raw
In response to PL/Python memory leak  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Responses Re: PL/Python memory leak (Replaces earlier patch from today)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
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()

Attachment

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] clusterdb has poor error recovery
Next
From: Tom Lane
Date:
Subject: Re: PL/Python memory leak (Replaces earlier patch from today)