Re: Coverity reports looking good - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: Coverity reports looking good
Date
Msg-id 20060820172446.GA30039@1
Whole thread Raw
In response to Re: Coverity reports looking good  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Aug 20, 2006 at 11:52:53AM -0400, Tom Lane wrote:
> Well, if Coverity's idea of good programming practice is that every
> program must explicitly free everything it ever malloced before it
> terminates, then I'm afraid we'll have to agree to disagree.  The

I don't think Coverity even knows how long a program may run.

But while I agree that freeing all memory is not needed in a short
running program, I still think we should examine those reports because
they may show some real bugs. At least this is what happened to some
degree in ecpg.

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


pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: pg_dump versus SERIAL, round N
Next
From: Tom Lane
Date:
Subject: Re: pg_dump versus SERIAL, round N