Re: Memory leak in gingetbitmap

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Memory leak in gingetbitmap
Дата
Msg-id 7196.1422548957@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Memory leak in gingetbitmap  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> [ assorted GIN leaks ]

> I think we need a more whole-sale approach. I'm thinking of adding a new 
> memory context to contain everything related to the scan keys, which can 
> then be destroyed in whole.

> We haven't heard any complaints about this from users, but I think this 
> deserves to be fixed. Perhaps not worth back-patching however.

+1 to using a context instead of a lot of retail pfrees, and I concur
that we shouldn't back-patch (barring seeing some field complaints).
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump with both --serializable-deferrable and -j
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Parallel Seq Scan