Re: [BUGS] Stalled post to pgsql-bugs

2013-07-04 Thread Chad Wagner
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

[BUGS] BUG #8279: Apparent memory leak with use of INTO STRICT in plpgsql?

2013-07-03 Thread chad . wagner
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