Re: Memory leak in FDW

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Memory leak in FDW
Дата
Msg-id 1303841704-sup-5783@alvh.no-ip.org
обсуждение исходный текст
Ответ на Memory leak in FDW  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Memory leak in FDW  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Excerpts from Heikki Linnakangas's message of mar abr 26 15:06:51 -0300 2011:

> I tried to look around for other executor nodes that might 
> have the same problem. I didn't see any obvious leaks, although index 
> scan node seems to call AM's getnext without resetting the memory 
> context in between. That's a pretty well-tested codepath, however, and 
> there hasn't been any complains of leaks with index scans, so there must 
> be something that mitigates it.

Don't we have some rule that functions used in index AMs are supposed to
be leak-free?

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Memory leak in FDW
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Proposal - asynchronous functions