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

From [email protected] (Tom Lane)
Subject pgsql: Remove inappropriate memory context switch in
Date
Msg-id [email protected]
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_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)

pgsql-committers by date:

Previous
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Remove inappropriate memory context switch in
Next
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Remove inappropriate memory context switch in