Re: parse_oper cache

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: parse_oper cache
Дата
Msg-id 603c8f070912271136s7a06b76cq80dd0f7720e4274c@mail.gmail.com
обсуждение исходный текст
Ответ на Re: parse_oper cache  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: parse_oper cache  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Dec 27, 2009 at 12:59 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> My inclination is to leave the actual memory allocation behavior alone
> and just get rid of the CreateCacheMemoryContext calls in these places.

I don't have a strong feeling on it.  It is only one extra line of
code to make the hash table context a child of CacheMemoryContext
rather than TopMemoryContext, but since we've been doing it this way
for so long, there's not any real clear value in changing it.  Though
it does make me wonder whether there's any point in retaining
CacheMemoryContext at all.

...Robert


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Removing pg_migrator limitations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: parse_oper cache