Improve test coverage of ginvacuum.c.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4c51a2d1e4b750bc11b8de9a85b079a14f798741
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-09-01T22:40:43Z
Releases: 14.0
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

Files

PathChange+/−
src/test/regress/expected/gin.out modified +21 −0
src/test/regress/sql/gin.sql modified +8 −0

Discussion