Re: Postgresql 9.1.2 - abnormal memory usage - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Postgresql 9.1.2 - abnormal memory usage
Date
Msg-id 27575.1323671190@sss.pgh.pa.us
Whole thread Raw
In response to Re: Postgresql 9.1.2 - abnormal memory usage  (Andres Freund <andres@anarazel.de>)
Responses Re: Postgresql 9.1.2 - abnormal memory usage
List pgsql-bugs
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.

            regards, tom lane

pgsql-bugs by date:

Previous
From: John Lumby
Date:
Subject: Re: LIKE predicate and ERROR: 42P22: could not determine which collation to use for string comparison - HINT: Use the COLLATE clause ...
Next
From: Jochen Erwied
Date:
Subject: Re: Postgresql 9.1.2 - abnormal memory usage