On Thu, Nov 6, 2008 at 7:01 AM, Tim Keitt <tkeitt(at)keittlab(dot)org> wrote:
> I am working on a set returning function and have a question about
> switching memory contexts. Basically, what I want to know is whether
> memory allocated in one context can be referenced when a different
> context is current.
You can safely refer the memory allocated in a different context as
long as the other memory context is still alive.
Thanks,
Pavan
--
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com