Re: pl/python quoting functions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pl/python quoting functions
Дата
Msg-id 1298475841.27343.1.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: pl/python quoting functions  (Jan Urbański <wulczer@wulczer.org>)
Список pgsql-hackers
On ons, 2011-02-23 at 11:26 +0100, Jan Urbański wrote:
> One thing: you removed the conditional pfree from PLy_quote_ident,
> which makes this function leak memory if the actual quoting took
> place, no? Is that leak too small to worry about?

Many functions in PostgreSQL leak memory in this way.  It's not worth
worrying about, and certainly not worth violating a called function's
API for it.




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

Предыдущее
От: Kenneth Marshall
Дата:
Сообщение: Re: Correctly producing array literals for prepared statements
Следующее
От: Radosław Smogura
Дата:
Сообщение: Re: Binary in/out for aclitem