pgsql: amcheck: Add a test with GIN index on JSONB data

From: Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: amcheck: Add a test with GIN index on JSONB data
Date: 2025-03-29 15:49:02
Message-ID: E1tyYQg-001bh4-1G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)dilger(at)enterprisedb(dot)com>
Reviewed-By: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
Reviewed-By: Kirill Reshke <reshkekirill(at)gmail(dot)com>
Discussion: https://postgr.es/m/BC221A56-977C-418E-A1B8-9EFC881D80C5%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ca738bdc4c9d32c05a6abd125ce495dfb82be492

Modified Files
--------------
contrib/amcheck/expected/check_gin.out | 14 ++++++++++++++
contrib/amcheck/sql/check_gin.sql | 12 ++++++++++++
2 files changed, 26 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2025-03-29 16:24:58 Re: pgsql: pg_upgrade: Fix inconsistency in memory freeing
Previous Message Andres Freund 2025-03-29 14:49:31 pgsql: Fix "‘static’ is not at beginning of declaration" warning