Re: Coverity reports looking good
От | Tom Lane |
---|---|
Тема | Re: Coverity reports looking good |
Дата | |
Msg-id | 27601.1156089173@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Coverity reports looking good (Martijn van Oosterhout <kleptog@svana.org>) |
Ответы |
Re: Coverity reports looking good
Re: Coverity reports looking good |
Список | pgsql-hackers |
Martijn van Oosterhout <kleptog@svana.org> writes: > Whats basically left is a large number of memory leaks in frontend > applications such as pg_dump, initdb, pg_ctl, etc. These haven't ever > really been a priority (buildACLCommands is really bad in this > respect). 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 above is nothing but make-work as far as programs with short intended runtimes go. A leak in psql would be interesting if it can accumulate across command-execution cycles, but I have zero interest in "cleaning up" any of the programs mentioned above. regards, tom lane
В списке pgsql-hackers по дате отправления: