Re: [CHECKER] 4 memory leaks in Postgresql 7.4.2 - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: [CHECKER] 4 memory leaks in Postgresql 7.4.2
Date
Msg-id 20040705185509.GB7378@1
Whole thread Raw
In response to Re: [CHECKER] 4 memory leaks in Postgresql 7.4.2  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [CHECKER] 4 memory leaks in Postgresql 7.4.2  ("Ted Kremenek" <kremenek@cs.stanford.edu>)
List pgsql-bugs
On Sun, May 02, 2004 at 07:50:46PM -0400, Tom Lane wrote:
> >> [BUG] memory leak on error path (dtype != DTK_DELTA)
> >> File where bug occurred:
> >> postgresql-7.4.2/src/interfaces/ecpg/pgtypeslib/interval.c
>
> > Looks suspicious to me, but ECPG is Michael Meskes' domain -- Michael?
>
> It's entirely likely that ecpg's derivative of the backend's datetime
> modules contains lots and lots of memory leaks, since AFAIK the palloc
> infrastructure is not there in the ecpg environment :-(.

This is true of course. But I'm hopeful we found most of the possible
leaks. This one certainly was not found.

Fix just committed.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: [JDBC] Error in DatabaseMetaData.getColumns() with Views
Next
From: "SZŰCS Gábor"
Date:
Subject: Immutable function in index