pgsql: Improve test coverage of ginvacuum.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve test coverage of ginvacuum.c.
Date: 2020-09-01 22:40:55
Message-ID: E1kDExT-0002G9-MU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve test coverage of ginvacuum.c.

Add a test case that exercises vacuum's deletion of empty GIN
posting pages. Since this is a temp table, it should now work
reliably to delete a bunch of rows and immediately VACUUM.
Before the preceding commit, this would not have had the desired
effect, at least not in parallel regression tests.

Discussion: https://postgr.es/m/3490536.1598629609@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4c51a2d1e4b750bc11b8de9a85b079a14f798741

Modified Files
--------------
src/test/regress/expected/gin.out | 21 +++++++++++++++++++++
src/test/regress/sql/gin.sql | 8 ++++++++
2 files changed, 29 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-09-02 00:09:40 pgsql: Improve handling of dropped relations for REINDEX DATABASE/SCHEM
Previous Message Bruce Momjian 2020-09-01 21:00:27 pgsql: doc: clarify that max_wal_size is "during" checkpoints