amcheck: Add a test with GIN index on JSONB data
authorTomas Vondra <tomas.vondra@postgresql.org>
Sat, 29 Mar 2025 15:46:34 +0000 (16:46 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sat, 29 Mar 2025 15:47:44 +0000 (16:47 +0100)
commitca738bdc4c9d32c05a6abd125ce495dfb82be492
tree7650c50966803cf911242fdddc86e20b2d93d55b
parentec4327d106be745534592e8aff14effb716f4dc9
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
contrib/amcheck/expected/check_gin.out
contrib/amcheck/sql/check_gin.sql