Re: Properly initialize negative/empty cache entries in relfilenodemap

From: "MauMau" <maumau307(at)gmail(dot)com>
To: "Alvaro Herrera" <alvherre(at)2ndquadrant(dot)com>, "Andres Freund" <andres(at)2ndquadrant(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Properly initialize negative/empty cache entries in relfilenodemap
Date: 2013-08-29 12:35:13
Message-ID: CE62CF9A61074102AF92CC6D67D2CF11@maumau
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Andres Freund wrote:
>> Hi,
>>
>> Thanks to the valgrind instrumentation I found a small oversight in the
>> relfilenodemap patch which is fixed in the attached patch.

Great! Could anybody find the root cause for the following memory leak
problem, and if possible, fix this?

http://www.postgresql.org/message-id/214653D8DF574BFEAA6ED53E545E99E4@maumau

Heiki helped to solve this and found that pg_statistic entries are left in
CacheMemoryContext, but we have no idea where and how they are created and
left. This seems difficult to me.

Regards
MauMau

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-08-29 12:38:09 Re: Properly initialize negative/empty cache entries in relfilenodemap
Previous Message MauMau 2013-08-29 12:17:05 Re: [9.3 doc fix] clarification of Solaris versions