Re: polymorphic arguments and return type for PL/pgSQL

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: polymorphic arguments and return type for PL/pgSQL
Дата
Msg-id 3F00C5AC.4040205@joeconway.com
обсуждение исходный текст
Ответ на Re: polymorphic arguments and return type for PL/pgSQL  (Joe Conway <mail@joeconway.com>)
Ответы Re: polymorphic arguments and return type for PL/pgSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Joe Conway wrote:
> Compiles clean, and passes all regression tests. I'll look to update the
> docs and regression tests as part of my post freeze array/polymorphic
> function cleanup.
>

Oh, almost forgot. I had one question, seen here in
get_function_by_signature()

> + if (!entry_valid)
> + {
> +     plpgsql_HashTableDelete(function);
 > +
> +     /* XXX: is it worth worrying about the leaked function struct? */
> +     function = NULL;

With the current linked list, the function is effectively leaked to the
end of the session anyway, so I don't think this is any worse. Thoughts?

Thanks,

Joe


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: polymorphic arguments and return type for PL/pgSQL
Следующее
От: Joe Conway
Дата:
Сообщение: Re: [HACKERS] Missing array support