Storing MemoryContext Pointers - Mailing list pgsql-hackers

From Volkan YAZICI
Subject Storing MemoryContext Pointers
Date
Msg-id 20061005191545.GB1376@alamut
Whole thread Raw
Responses Re: Storing MemoryContext Pointers  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

When I allocate a new memory context via
 oldmcxt = AllocSetContextCreate(TopMemoryContext, ...) persistent_mcxt = CurrentMemoryContext;

How can I store the persistent_mcxt in a persistent place that I'll be
able to reach it in my next getting invoked? Is that possible? If not,
how can I reach my previously created persistent data in my next
invocation?


Regards.


pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: Query Failed, out of memory
Next
From: "Mark Woodward"
Date:
Subject: Re: Query Failed, out of memory