amcheck: Add a test with GIN index on JSONB data

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: ca738bdc4c9d32c05a6abd125ce495dfb82be492
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2025-03-29T15:47:44Z
Releases: 18.0
amcheck: Add a test with GIN index on JSONB data

Extend the existing test of GIN checks to also include an index on JSONB
data, using the jsonb_path_ops opclass. This is a common enough usage of
GIN that it makes sense to have better test coverage for it.

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

Files

PathChange+/−
contrib/amcheck/expected/check_gin.out modified +14 −0
contrib/amcheck/sql/check_gin.sql modified +12 −0

Discussion