Re: Differential code coverage between 16 and HEAD

Jeff Davis <pgsql@j-davis.com>

From: Jeff Davis <pgsql@j-davis.com>
To: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org
Date: 2024-04-15T23:53:48Z
Lists: pgsql-hackers
On Sun, 2024-04-14 at 15:33 -0700, Andres Freund wrote:
> - Coverage for some of the new unicode code is pretty poor:
>  
> https://anarazel.de/postgres/cov/16-vs-HEAD-2024-04-14/src/common/unicode_category.c.gcov.html#L122

Thank you for looking. Those functions are tested by category_test.c
which is run with the 'update-unicode' target.

Better testing in the SQL tests might be good, but the existing tests
are near-exhaustive, so I'm not terribly worried. Also, it's possible
not all of them are reachable by SQL, yet, because some of the later
patches in the series didn't land in 17.

Regards,
	Jeff Davis




Commits

  1. Push dedicated BumpBlocks to the tail of the blocks list

  2. Improve test coverage in bump.c