From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: test_bitmapset: Expand more the test coverage |
Date: | 2025-09-29 06:18:46 |
Message-ID: | E1v37Dh-000a6w-30@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
test_bitmapset: Expand more the test coverage
This commit expands the set of tests added by 00c3d87a5cab, to bring the
coverage of bitmapset.c close to 100% by addressing a lot of corner
cases (most of these relate to word counts and reallocations).
Some of the functions of this module also have their own idea of the
result to return depending on the input values given. These are
specific to the module, still let's add more coverage for all of them.
Some comments are made more consistent in the tests, while on it.
Author: Greg Burd <greg(at)burd(dot)me>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/aNR-gsGmLnMaNT5i@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5668fff3c512a61b7f8a2b9bf04270578cf5665a
Modified Files
--------------
.../test_bitmapset/expected/test_bitmapset.out | 1072 +++++++++++++++++---
.../modules/test_bitmapset/sql/test_bitmapset.sql | 189 +++-
.../modules/test_bitmapset/test_bitmapset--1.0.sql | 4 +
src/test/modules/test_bitmapset/test_bitmapset.c | 55 +-
4 files changed, 1157 insertions(+), 163 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2025-09-29 18:16:43 | pgsql: Fix StatisticsObjIsVisibleExt() for pg_temp. |
Previous Message | David Rowley | 2025-09-29 01:36:56 | pgsql: Improve planner's width estimates for set operations |