amcheck: Add a GIN index to the CREATE INDEX CONCURRENTLY tests
authorTomas Vondra <tomas.vondra@postgresql.org>
Sat, 29 Mar 2025 15:46:49 +0000 (16:46 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sat, 29 Mar 2025 15:47:44 +0000 (16:47 +0100)
commit68f97aeadb8e50794addaf5c1f8e9a67f75691b8
tree4b20ec30745313c9f64896e5a5fa3146e4a3d3fe
parentca738bdc4c9d32c05a6abd125ce495dfb82be492
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 <mark.dilger@enterprisedb.com>
Reviewed-By: Tomas Vondra <tomas.vondra@enterprisedb.com>
Reviewed-By: Kirill Reshke <reshkekirill@gmail.com>
Discussion: https://postgr.es/m/BC221A56-977C-418E-A1B8-9EFC881D80C5%40enterprisedb.com
contrib/amcheck/t/002_cic.pl
contrib/amcheck/t/003_cic_2pc.pl