Re: SRF memory leaks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SRF memory leaks
Дата
Msg-id 27109.1204013604@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SRF memory leaks  (Neil Conway <neilc@samurai.com>)
Ответы Re: SRF memory leaks  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> On Mon, 2008-02-25 at 21:00 -0500, Tom Lane wrote:
>> I find this part of the patch to be a seriously bad idea.

> AFAICS this is not true of any of the SRFs in the backend, which always
> return expendable tupdescs.

"It's OK in the built-in SRFs" is disastrously different from "It's OK".

It was never specified that SRFs had to return a free-able tupdesc,
so I think it's a lead pipe cinch that there are some out there that
don't.  Nor would it be their fault if we change the specification.

            regards, tom lane

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: SRF memory leaks
Следующее
От: Neil Conway
Дата:
Сообщение: Re: SRF memory leaks