postgresql/contrib/pageinspect/sql
Tom Lane c2dc1a7976 Disable vacuum page skipping in selected test cases.
By default VACUUM will skip pages that it can't immediately get
exclusive access to, which means that even activities as harmless
and unpredictable as checkpoint buffer writes might prevent a page
from being processed.  Ordinarily this is no big deal, but we have
a small number of test cases that examine the results of VACUUM's
processing and therefore will fail if the page of interest is skipped.
This seems to be the explanation for some rare buildfarm failures.
To fix, add the DISABLE_PAGE_SKIPPING option to the VACUUM commands
in tests where this could be an issue.

In passing, remove a duplicated query in pageinspect/sql/page.sql.

Back-patch as necessary (some of these cases are as old as v10).

Discussion: https://postgr.es/m/413923.1611006484@sss.pgh.pa.us
2021-01-20 11:49:29 -05:00
..
brin.sql
btree.sql pageinspect: Change block number arguments to bigint 2021-01-19 11:03:38 +01:00
checksum.sql Add an explicit test to catch changes in checksumming calculations. 2020-03-08 15:09:14 -04:00
gin.sql pageinspect: Change block number arguments to bigint 2021-01-19 11:03:38 +01:00
gist.sql Fix test failure with wal_level=minimal. 2021-01-13 20:58:51 +02:00
hash.sql pageinspect: Change block number arguments to bigint 2021-01-19 11:03:38 +01:00
oldextversions.sql pageinspect: Change block number arguments to bigint 2021-01-19 11:03:38 +01:00
page.sql Disable vacuum page skipping in selected test cases. 2021-01-20 11:49:29 -05:00