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

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: SQL functions returning pass-by-reference types were copying the
Date
Msg-id 20050410180421.25B405356C@svr1.postgresql.org
Whole thread Raw
List 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.

Modified Files:
--------------
    pgsql/src/backend/executor:
        functions.c (r1.96 -> r1.97)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/functions.c.diff?r1=1.96&r2=1.97)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: SQL functions returning pass-by-reference types were copying the
Next
From: kimhanse@pgfoundry.org (User Kimhanse)
Date:
Subject: tablelog - tablelog: Bugfix: tupleDesc->natts is not lowered when a