Skip site navigation (1) Skip section navigation (2)

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:36
Message-ID: 20081130184936.A1FDA7545A4@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
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.

Modified Files:
--------------
    pgsql/src/backend/utils/fmgr:
        funcapi.c (r1.42 -> r1.43)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/fmgr/funcapi.c?r1=1.42&r2=1.43)

Responses

pgsql-hackers by date

Next:From: David RowleyDate: 2008-11-30 19:11:10
Subject: Re: Windowing Function Patch Review -> Standard Conformance
Previous:From: David E. WheelerDate: 2008-11-30 18:04:33
Subject: Re: WIP: default values for function parameters

pgsql-committers by date

Next:From: Tom LaneDate: 2008-11-30 18:49:42
Subject: pgsql: Remove inappropriate memory context switch in
Previous:From: Tom LaneDate: 2008-11-30 18:29:02
Subject: Re: pgsql: Reduce risk of accidentally running temp-install regression tests

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group