Improve regression test coverage of GiST index building.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Jul 2022 20:22:24 +0000 (16:22 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Jul 2022 20:22:24 +0000 (16:22 -0400)
commit6a1f082abac9da756d473e16238a906ca5a592dc
tree0ccc2326c17c3a23cfa06416264c44e77ca14348
parentbe39d88934331c47c43d8c51500305e928f06240
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
src/test/regress/expected/gist.out
src/test/regress/sql/gist.sql