pgsql: Remove inappropriate memory context switch in

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove inappropriate memory context switch in
Date: 2008-11-30 18:49:42
Message-ID: 20081130184942.764F17545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Remove inappropriate memory context switch in shutdown_MultiFuncCall().
This was a thinko introduced in a patch from last February; it results
in memory leakage if an SRF is shut down before the actual end of query,
because subsequent code will be running in a longer-lived context than
it's expecting to be.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/fmgr:
funcapi.c (r1.37.2.1 -> r1.37.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/fmgr/funcapi.c?r1=1.37.2.1&r2=1.37.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-11-30 18:49:48 pgsql: Remove inappropriate memory context switch in
Previous Message Tom Lane 2008-11-30 18:49:36 pgsql: Remove inappropriate memory context switch in