Re: Postgresql 9.1.2 - abnormal memory usage

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Postgresql 9.1.2 - abnormal memory usage
Дата
Msg-id 4EE5BB70.4090903@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Postgresql 9.1.2 - abnormal memory usage  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Postgresql 9.1.2 - abnormal memory usage  (Matteo Beccati <php@beccati.com>)
Список pgsql-bugs
On 12.12.2011 08:26, Tom Lane wrote:
> Andres Freund<andres@anarazel.de>  writes:
>> In 3b8161723c645853021b57330dd2ea0484ec6131 Heikki made DatumGetInetP unpack
>> toasted values. Unfortunately the btree support functions for the inet type
>> didn't free memory which they have to do in contrast to about everything else.
>
>> I fixed a few more functions than strictly necessary but I guess thats ok.
>
> Seems like the correct fix is to revert these functions to the former
> behavior, ie they should be using the PP macros not the unpacking ones.

Agreed, there's no need to unpack here. Fixed, thanks for the report!

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Jochen Erwied
Дата:
Сообщение: Re: Postgresql 9.1.2 - abnormal memory usage
Следующее
От: Matteo Beccati
Дата:
Сообщение: Re: Postgresql 9.1.2 - abnormal memory usage