pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-bugs@postgresql.org
Cc: Jochen Erwied <jochen@pgsql-bugs.erwied.eu>
Subject: Re: Postgresql 9.1.2 - abnormal memory usage
Date: Mon, 12 Dec 2011 10:29:36 +0200
Message-ID: <4EE5BB70.4090903@enterprisedb.com> (raw)
In-Reply-To: <27575.1323671190@sss.pgh.pa.us>
References: <396904450.20111211221529@erwied.eu>
	<201112120045.23211.andres@anarazel.de>
	<201112120145.42463.andres@anarazel.de>
	<27575.1323671190@sss.pgh.pa.us>

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



view thread (11+ messages)  latest in thread

Message-ID: <4EE5BB70.4090903@enterprisedb.com>
Permalink:  ../4EE5BB70.4090903@enterprisedb.com/
Also on:    postgresql.org/message-id/4EE5BB70.4090903@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: heikki.linnakangas@enterprisedb.com, tgl@sss.pgh.pa.us, andres@anarazel.de, jochen@pgsql-bugs.erwied.eu
  Subject: Re: Postgresql 9.1.2 - abnormal memory usage
  In-Reply-To: <4EE5BB70.4090903@enterprisedb.com>
  References: <396904450.20111211221529@erwied.eu> <201112120045.23211.andres@anarazel.de> <201112120145.42463.andres@anarazel.de> <27575.1323671190@sss.pgh.pa.us> <4EE5BB70.4090903@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox