Re: Coverity Open Source Defect Scan of PostgreSQL

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Coverity Open Source Defect Scan of PostgreSQL
Дата
Msg-id 200603081401.55463.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: Coverity Open Source Defect Scan of PostgreSQL  (Ben Chelf <ben@coverity.com>)
Ответы Re: Coverity Open Source Defect Scan of PostgreSQL  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Список pgsql-hackers
Folks,
> As for Coverity, if the elevel that's passed to the ereport is really a
> constant, the above #ifdef should absolutely do the trick for us so we
> know to stop analyzing on that path...Let me know if it doesn't actually
> do that ;)

Um, I think the answer is to train Coverity, not change our code to avoid 
the false-positives.  I know that Coverity is sophisticated enough to, for 
example, be programed to understand that elog(ERROR) does not continue.  

Actually, I thougth that Neil/eDB did this with their copy.  Is there any 
way to get a copy of that "training configuration"?

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: Merge algorithms for large numbers of "tapes"
Следующее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: Coverity Open Source Defect Scan of PostgreSQL