After further testing, this test case should be refined to throw
NO_DATA_FOUND errors from the INTO STRICT clause to produce the memory leak.
In pl_exec.c, exec_stmt_execsql does not free the SPI_tuptable by calling
SPI_freetuptable before the ereport. Attached is a patch to 9.2-STABLE
that seems
The following bug has been logged on the website:
Bug reference: 8279
Logged by: Chad
Email address: chad.wag...@gmail.com
PostgreSQL version: 9.2.4
Operating system: Ubuntu 10.04
Description:
If I use the "SELECT ... INTO STRICT" clause with plpgsql it appears to lea