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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-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

Browse pgsql-committers by date

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

Browse pgsql-hackers by date

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