Antw: Re: Patch for unreleased memory in buf_init.c

From: "Ulrich Neumann" <U_Neumann(at)gne(dot)de>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Antw: Re: Patch for unreleased memory in buf_init.c
Date: 2002-08-12 16:16:18
Message-ID: sd57fb87.084@mail.gne.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hi Tom,

actually i'm working with a memory tracking system to find all
such cases where memory isn't freed. I'm doing this because
I want to get an official certification for PostgreSQL on NetWare
and I want to get a certification from HP on their UNIX.

Both told me that I couldn't get a certification as long as there
is unreleased memory.

I've seen some other places where memory isn't released but it's
not very often. Some calloc's and some strdup's. I hope it is OK
if I send thos patches.

Additional Novell will certify PostgreSQL for free if we get such
leakages solved. If HP will have some money for
certification I will pay this money.

Ulrich

>>> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 12.08.2002 18:06:17 >>>
Oh, I take that back --- I misread where you'd put the free()s.

Hmm, so the point is to reclaim memory during a shmem reinit cycle?
Might be worth doing, but I fear this is unlikely to be the only such
leakage ...

regards, tom lane
----------------------------------
This e-mail is virus scanned
Diese e-mail ist virusgeprueft

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2002-08-12 16:46:09 contrib/ buffer paranoia
Previous Message Tom Lane 2002-08-12 16:15:13 Re: Patch for unreleased memory in buf_init.c