Re: tuplesort test coverage

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: tuplesort test coverage
Дата
Msg-id CAH2-Wz=TdYRc4LDi97J5RWXUoi83eNna=9LREgTW5k+XD6=PZA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: tuplesort test coverage  (Andres Freund <andres@anarazel.de>)
Ответы Re: tuplesort test coverage
Список pgsql-hackers
On Thu, Oct 24, 2019 at 10:10 PM Andres Freund <andres@anarazel.de> wrote:
> Here's a first stab at getting the coverage of tuplesort.c to a
> satisfying level.  There's still bits uncovered, but that's largely
> either a) trace_sort related b) hopefully unreachable stuff c) explain
> related. The largest actually missing thing is a disk-based
> mark/restore, which probably ought be covered.

Yeah. It looks like function coverage of logtape.c will be 100% once
you have coverage of mark and restore.

> I think the the test time of this would still be OK, but if not we could
> also work a bit more on that angle.

That's hard for me to test right now, but offhand this general
approach looks good to me. I am pretty sure it's portable.

-- 
Peter Geoghegan



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: tuplesort test coverage
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: [HACKERS] WAL logging problem in 9.4.3?