Storing MemoryContext Pointers

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Storing MemoryContext Pointers
Дата
Msg-id 20061005191545.GB1376@alamut
обсуждение исходный текст
Ответы Re: Storing MemoryContext Pointers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: Query Failed, out of memory
Следующее
От: "Mark Woodward"
Дата:
Сообщение: Re: Query Failed, out of memory