pgsql: amcheck: Add a GIN index to the CREATE INDEX CONCURRENTLY tests - Mailing list pgsql-committers

From Tomas Vondra
Subject pgsql: amcheck: Add a GIN index to the CREATE INDEX CONCURRENTLY tests
Date
Msg-id E1tyYQg-001bh6-1K@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Fix "‘static’ is not at beginning of declaration" warning
Next
From: Jeff Davis
Date:
Subject: Re: pgsql: pg_upgrade: Fix inconsistency in memory freeing