Re: Regression test coverage of GiST index build is awful

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема Re: Regression test coverage of GiST index build is awful
Дата
Msg-id CAPpHfds1Dre7=Lw3G71MxPD8ukKJke0z5kdz+Et2_TaDHYbufw@mail.gmail.com
обсуждение исходный текст
Ответ на Regression test coverage of GiST index build is awful  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Regression test coverage of GiST index build is awful  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Apr 24, 2019 at 9:31 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> This tells a pretty scary story:
>
> https://coverage.postgresql.org/src/backend/access/gist/index.html
>
> In particular, gistbuildbuffers.c is not entered *at all*, and
> gistbuild.c is only 21% covered.
>
> I noticed this after adding an assertion that I expected
> gistInitBuildBuffers to fail on, and nonetheless getting
> through check-world just fine.
>
> Why is this so bad?  It's not like the gist regression test isn't
> ridiculously expensive already; I'd have expected it to provide
> darn near 100% coverage for what it's costing in runtime.

I don't think there is any idea behind this.  Seems to be just oversight.

Do you like me to write a patch improving coverage here?

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Regression test coverage of GiST index build is awful
Следующее
От: Adam Brusselback
Дата:
Сообщение: Re: Optimizer items in the release notes