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

Поиск
Список
Период
Сортировка
Искать

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

От:
tgl@postgresql.org (Tom Lane)
Дата:
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.

FAQ