pgsql: Remove inappropriate memory context switch in - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Remove inappropriate memory context switch in
Date
Msg-id 20081130184948.6BEA47545A4@cvs.postgresql.org
Whole thread Raw
List 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_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/fmgr:
        funcapi.c (r1.31.2.1 -> r1.31.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/fmgr/funcapi.c?r1=1.31.2.1&r2=1.31.2.2)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Remove inappropriate memory context switch in
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Add a "LIKE = typename" clause to CREATE TYPE for base types.