pgsql: Improve regression test coverage of GiST index building.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve regression test coverage of GiST index building.
Date: 2022-07-30 20:22:43
Message-ID: E1oHsyw-001ybi-7B@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve regression test coverage of GiST index building.

Add a test case that exercises the "buffering build" code path.
This covers almost all the non-error-case lines in gistbuild.c
and gistbuildbuffers.c.

Matheus Alcantara, based on earlier work by Pavel Borisov

Discussion: https://postgr.es/m/3z8Fde-IHbW57a7bEZtaf19f4YOCWu67IZoWJoGW18rKD9R16ZHHchf4d7KFI3Yg7-0N4NonFuwKEgh98HjMCZYoVx7KOioPo6Wn2nZRpf4=@pm.me

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6a1f082abac9da756d473e16238a906ca5a592dc

Modified Files
--------------
src/test/regress/expected/gist.out | 3 +++
src/test/regress/sql/gist.sql | 4 ++++
2 files changed, 7 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-07-31 02:51:09 pgsql: Expand tests of test_ddl_deparse/ for ALTER TABLE
Previous Message Tom Lane 2022-07-30 19:33:50 pgsql: Add regression test coverage for contrib/pg_buffercache.