Re: [HACKERS] Cache query (PREPARE/EXECUTE)

Поиск
Список
Период
Сортировка
От Karel Zak - Zakkr
Тема Re: [HACKERS] Cache query (PREPARE/EXECUTE)
Дата
Msg-id Pine.LNX.3.96.1000222211018.704A-100000@ara.zf.jcu.cz
обсуждение исходный текст
Ответ на Re: [HACKERS] Cache query (PREPARE/EXECUTE)  (Don Baccus <dhogaza@pacifier.com>)
Список pgsql-hackers
On Tue, 22 Feb 2000, Don Baccus wrote:

> At 06:30 PM 2/22/00 +0100, Karel Zak - Zakkr wrote:
> 
> > Yes, I agree (TopMemoryContext was simpl for first hacking). 
> >But I not sure how create new (across transaction persistent?) 
> >MemoryContext. It needs new portal? (Sorry I not thoroughly explore
> >PG's memory management.)  
> 
> Jan is caching the plans needed for referential integrity checking
> and referential actions - look at ri_triggers.c in src/backend/utils/adt.
> ri_InitHashTables initializes the RI cache.
My cache table routines for PREPARE = Jan's RI routines :-) 
(I copy and a little modify Jan's code (*Thanks* Jan for good inspiration..).

But if I good look at Jan use SPI context for this, not any specific
context. 
                    Karel



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: ECPG / Release
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Splitting distributions (Was: Re: [HACKERS] ECPG / Release)