Storing MemoryContext Pointers

From: Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Storing MemoryContext Pointers
Date: 2006-10-05 19:15:45
Message-ID: 20061005191545.GB1376@alamut
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Woodward 2006-10-05 19:23:44 Re: Query Failed, out of memory
Previous Message Neil Conway 2006-10-05 19:08:19 Re: Query Failed, out of memory