]> granicus.if.org Git - postgresql/commit
Remove inappropriate memory context switch in shutdown_MultiFuncCall().
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 Nov 2008 18:49:42 +0000 (18:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 Nov 2008 18:49:42 +0000 (18:49 +0000)
commit37e4c7219bbe0cdd9fa582dfbaeae1d1b44ab237
tree29738e6944cedf2c4587dd72052239e341cf6bdb
parentb9e8986d1b7b1f49fa8097d3b20abebac9b1bc85
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.
src/backend/utils/fmgr/funcapi.c