pgsql: Add regression test for BRIN parallel builds - Mailing list pgsql-committers

From Tomas Vondra
Subject pgsql: Add regression test for BRIN parallel builds
Date
Msg-id E1rw3CB-0022xf-NF@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add regression test for BRIN parallel builds

Adds a regression test for parallel CREATE INDEX for BRIN indexes, to
improve coverage for BRIN code, particularly code to allow parallel
index builds introduced by b43757171470.

The test is added to pageinspect, as that allows comparing the index to
one built without parallelism. Another option would be to just build the
index with parallelism and then check it produces correct results. But
checking the index is exactly as if built without parallelism makes
these query checks unnecessary.

Discussion: https://postgr.es/m/1df00a66-db5a-4e66-809a-99b386a06d86%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8225c2fd40cd9f7d60a826affeacdd8bf0de7bee

Modified Files
--------------
contrib/pageinspect/expected/brin.out | 101 ++++++++++++++++++++++++++++++++++
contrib/pageinspect/sql/brin.sql      |  91 ++++++++++++++++++++++++++++++
2 files changed, 192 insertions(+)


pgsql-committers by date:

Previous
From: Tomas Vondra
Date:
Subject: pgsql: Use the correct PG_DETOAST_DATUM macro in BRIN
Next
From: Tomas Vondra
Date:
Subject: pgsql: Fix unnecessary padding in incremental backups