Re: Tuplestore should remember the memory context it's created in - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Tuplestore should remember the memory context it's created in
Date
Msg-id 9201.1261496258@sss.pgh.pa.us
Whole thread Raw
In response to Tuplestore should remember the memory context it's created in  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Tuplestore should remember the memory context it's created in  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@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


pgsql-hackers by date:

Previous
From: Florian Pflug
Date:
Subject: Re: alpha3 release schedule?
Next
From: Greg Stark
Date:
Subject: Re: alpha3 release schedule?