amcheck: Add a GIN index to the CREATE INDEX CONCURRENTLY tests

The existing CREATE INDEX CONCURRENTLY tests checking only B-Tree, but
can be cheaply extended to also check GIN. This helps increasing test
coverage for GIN amcheck, especially related to handling concurrent page
splits and posting list trees.

This already helped to identify several issues during development of the
GIN amcheck support.

Author: Mark Dilger <[email protected]>
Reviewed-By: Tomas Vondra <[email protected]>
Reviewed-By: Kirill Reshke <[email protected]>
Discussion: 
https://postgr.es/m/BC221A56-977C-418E-A1B8-9EFC881D80C5%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/68f97aeadb8e50794addaf5c1f8e9a67f75691b8

Modified Files
--------------
contrib/amcheck/t/002_cic.pl     | 10 +++++++---
contrib/amcheck/t/003_cic_2pc.pl | 40 +++++++++++++++++++++++++++++++++-------
2 files changed, 40 insertions(+), 10 deletions(-)

Reply via email to