Re: Properly initialize negative/empty cache entries in relfilenodemap - Mailing list pgsql-hackers

From MauMau
Subject Re: Properly initialize negative/empty cache entries in relfilenodemap
Date
Msg-id CE62CF9A61074102AF92CC6D67D2CF11@maumau
Whole thread Raw
In response to Re: Properly initialize negative/empty cache entries in relfilenodemap  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Properly initialize negative/empty cache entries in relfilenodemap
Re: Properly initialize negative/empty cache entries in relfilenodemap
List 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




pgsql-hackers by date:

Previous
From: "MauMau"
Date:
Subject: Re: [9.3 doc fix] clarification of Solaris versions
Next
From: Andres Freund
Date:
Subject: Re: Properly initialize negative/empty cache entries in relfilenodemap