| От | Tom Lane |
|---|---|
| Тема | Re: Bogus reports from coverage.postgresql.org |
| Дата | |
| Msg-id | 15758.1520656953@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Bogus reports from coverage.postgresql.org (Andres Freund <andres@anarazel.de>) |
| Список | pgsql-www |
Andres Freund <andres@anarazel.de> writes: > On 2018-03-09 19:36:28 -0500, Tom Lane wrote: >> I happened to notice that if you look at >> https://coverage.postgresql.org/src/backend/optimizer/util/predtest.c.gcov.html >> it claims that the two occurrences of >> elog(ERROR, "predicate_classify returned a bogus value"); >> at lines 492 and 803 are reached. > Is it possible that the compiler figured that the patch is unreachable > and removed the code? Maybe, but then it's even less reasonable to claim that the lines were reached. In general, lcov seems to ignore lines for which no code was generated, which is fine by me. regards, tom lane
В списке pgsql-www по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера