Re: Stalled post to pgsql-bugs

From: Chad Wagner <chad(dot)wagner(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Stalled post to pgsql-bugs
Date: 2013-07-04 18:41:08
Message-ID: CAO52MFzWGQe49yOERLo5Od-e2ivs9TGAYMVy5L4kfnyEQ8PQSA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
pl_exec.diff application/octet-stream 892 bytes
valgrind.out application/octet-stream 32.8 KB

Browse pgsql-bugs by date

  From Date Subject
Next Message eike 2013-07-04 23:11:42 BUG #8286: severe bug in auth
Previous Message Bruce Momjian 2013-07-04 17:10:01 Re: BUG #7709: psql \copy csv terminates with \. in quoted region