Heikki Linnakangas <heikki.linnakan...@enterprisedb.com> writes: > Patch against CVS HEAD to do that and fix the reported bug attached. Now > that the tuplestore_put* switches to the right memory context, we could > remove that from all the callers, but this patch only does it for pl_exec.c.
BTW, I'm not convinced that the owner-switchery you added to pl_exec.c is necessary/appropriate. Under what circumstances would that be a good idea? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers