Re: Bug in bttext_abbrev_convert()
От | Peter Geoghegan |
---|---|
Тема | Re: Bug in bttext_abbrev_convert() |
Дата | |
Msg-id | CAM3SWZQ+aTShUVmZ6aN+P+TKVJnFxaN4pueNhWoC9aZY2EB_0w@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Bug in bttext_abbrev_convert() (Peter Geoghegan <pg@heroku.com>) |
Ответы |
Re: Bug in bttext_abbrev_convert()
|
Список | pgsql-hackers |
On Tue, Jun 30, 2015 at 10:25 PM, Peter Geoghegan <pg@heroku.com> wrote: > It would be nice to always have a html report from gcov always > available on the internet. That would be something useful to automate, > IMV. Watching that regress over time might provide useful insight, but > I only use gcov a couple of times a year, so that's not going to > happen on its own. I generated such a report just now, and noticed this: 1137 : tuplesort_performsort(btspool->sortstate); 214 1131 : if (btspool2) 215 0 : tuplesort_performsort(btspool2->sortstate); 216 : 217 1131 : wstate.heap = btspool->heap; 218 1131 : wstate.index = btspool->index; The regression tests have zero coverage for this tuplesort_performsort() "btspool2" case. That's a fairly common case to have no coverage for, and that took me all of 5 minutes to find. -- Peter Geoghegan
В списке pgsql-hackers по дате отправления: