pgsql: SQL functions returning pass-by-reference types were copying the

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: SQL functions returning pass-by-reference types were copying the
Date: 2005-04-10 18:04:31
Message-ID: 20050410180431.EC93D5358B@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
SQL functions returning pass-by-reference types were copying the results
into the wrong memory context, resulting in a query-lifespan memory leak.
Bug is new in 8.0, I believe. Per report from Rae Stiening.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/backend/executor:
functions.c (r1.91 -> r1.91.4.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/functions.c.diff?r1=1.91&r2=1.91.4.1)

Browse pgsql-committers by date

  From Date Subject
Next Message User Kimhanse 2005-04-10 18:08:04 tablelog - tablelog: Bugfix: tupleDesc->natts is not lowered when a
Previous Message Tom Lane 2005-04-10 18:04:21 pgsql: SQL functions returning pass-by-reference types were copying the