Re: Bogus reports from coverage.postgresql.org

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Bogus reports from coverage.postgresql.org
Дата
Msg-id 20180310040627.nwckurme2w42onp3@alap3.anarazel.de
обсуждение исходный текст
Ответ на Bogus reports from coverage.postgresql.org  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bogus reports from coverage.postgresql.org  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-www
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.
> 
> This would be quite astonishing if true, but it isn't true, since
> the regression tests aren't reporting any such failure.
> 
> Needless to say, this puts quite a damper on my faith in the coverage
> reports.  Maybe that machine needs a software update?

Is it possible that the compiler figured that the patch is unreachable
and removed the code?

Greetings,

Andres Freund


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Bogus reports from coverage.postgresql.org
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bogus reports from coverage.postgresql.org