Improve test coverage of ginvacuum.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Sep 2020 22:40:37 +0000 (18:40 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Sep 2020 22:40:43 +0000 (18:40 -0400)
commit4c51a2d1e4b750bc11b8de9a85b079a14f798741
treed802c9e30d1b6aacaff595720bf10bfba0980989
parenta7212be8b9e0885ee769e8c55f99ef742cda487b
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
src/test/regress/expected/gin.out
src/test/regress/sql/gin.sql