Re: [GENERAL] Memory Errors...

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [GENERAL] Memory Errors...
Дата
Msg-id Pine.LNX.4.44.0209201838200.1307-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: [GENERAL] Memory Errors...  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [GENERAL] Memory Errors...  (Greg Copeland <greg@CopelandConsulting.Net>)
Список pgsql-hackers
Tom Lane writes:

> On looking a little more closely, it's clear that pltcl_SPI_exec()
> should be, and is not, calling SPI_freetuptable() once it's done with
> the tuple table returned by SPI_exec().  This needs to be done in all
> the non-elog code paths after SPI_exec has returned SPI_OK_SELECT.

There's a note in the PL/Python documentation that it's leaking memory if
SPI plans are used.  Maybe that's related and someone could take a look at
it.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Neil Conway
Дата:
Сообщение: regression test failure in CVS HEAD
Следующее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: Improving speed of copy