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

Поиск
Список
Период
Сортировка
От Don Baccus
Тема Re: [HACKERS] Cache query (PREPARE/EXECUTE)
Дата
Msg-id 3.0.1.32.20000222105607.0106c2f0@mail.pacifier.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Cache query (PREPARE/EXECUTE)  (Karel Zak - Zakkr <zakkr@zf.jcu.cz>)
Ответы Re: [HACKERS] Cache query (PREPARE/EXECUTE)  (Karel Zak - Zakkr <zakkr@zf.jcu.cz>)
Список pgsql-hackers
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.

(I *assume* Jan, with his great experience, is doing it right, I'm
in no position to judge!)



- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.
 


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

Предыдущее
От: Nora Luz Escobar López
Дата:
Сообщение: subcription
Следующее
От: Don Baccus
Дата:
Сообщение: Re: [HACKERS] TRANSACTIONS