Re: [GENERAL] Many Pl/PgSQL parameters -> AllocSetAlloc(128)?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Many Pl/PgSQL parameters -> AllocSetAlloc(128)?
Дата
Msg-id 19095.1056463986@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Many Pl/PgSQL parameters -> AllocSetAlloc(128)?  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> Actually, adding a "pfree(oneres);" to the end of that for loop plugs
> the memory leak and allows me to see the error message:

Good catch.

> Takes a while to check all 16777216 possibilities though, so I'm still
> not sure more isn't needed here.

I wonder why it's doing anything at all --- the check for supertypes
ought to trigger only for complex type (rowtype) arguments, and there
are none here.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: a problem with index and user define type
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: interval's and printing...