Re: Memory leak in deferrable index constraints

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Memory leak in deferrable index constraints
Дата
Msg-id
25059.1264953781@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Memory leak in deferrable index constraints Dean Rasheed <dean.a.rasheed@googlemail.com>
Re: Memory leak in deferrable index constraints Tom Lane <tgl@sss.pgh.pa.us>
Re: Memory leak in deferrable index constraints Dean Rasheed <dean.a.rasheed@googlemail.com>
Re: Memory leak in deferrable index constraints Tom Lane <tgl@sss.pgh.pa.us>
Dean Rasheed  writes:
> Oops, my fault. The list returned by ExecInsertIndexTuples() needs to be
> freed otherwise lots of lists (one per row) will build up and not be freed
> until the end of the query. This actually accounts for even more memory
> than the after-trigger event queue. Patch attached.

It seems a bit unlikely that this would be the largest memory leak in
that area.  Can you show a test case that demonstrates this is worth
worrying about?
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Dean Rasheed
Дата:
FAQ