Improve regression test coverage of GiST index building.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6a1f082abac9da756d473e16238a906ca5a592dc
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-07-30T20:22:24Z
Releases: 16.0
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

Files

PathChange+/−
src/test/regress/expected/gist.out modified +3 −0
src/test/regress/sql/gist.sql modified +4 −0

Discussion