Re: Postgresql 9.1.2 - abnormal memory usage

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org, Jochen Erwied <jochen(at)pgsql-bugs(dot)erwied(dot)eu>
Subject: Re: Postgresql 9.1.2 - abnormal memory usage
Date: 2011-12-12 06:26:30
Message-ID: 27575.1323671190@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andres Freund <andres(at)anarazel(dot)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

In response to

Responses

Browse pgsql-bugs by date

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