Re: Stalled post to pgsql-bugs - Mailing list pgsql-bugs

From Chad Wagner
Subject Re: Stalled post to pgsql-bugs
Date
Msg-id CAO52MFzWGQe49yOERLo5Od-e2ivs9TGAYMVy5L4kfnyEQ8PQSA@mail.gmail.com
Whole thread Raw
In response to Stalled post to pgsql-bugs  (Saneera Gunasekara <saneera@apturion.com>)
List pgsql-bugs
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 to resolve it.




Attachment

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #7709: psql \copy csv terminates with \. in quoted region
Next
From: eike@inter.net
Date:
Subject: BUG #8286: severe bug in auth