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  (Dean Rasheed <dean.a.rasheed@googlemail.com>)
Список pgsql-hackers
Dean Rasheed <dean.a.rasheed@googlemail.com> 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
Дата:
Сообщение: Memory leak in deferrable index constraints
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ordered aggregates using WITHIN GROUP (was Re: can somebody execute this query on Oracle 11.2g and send result?)