postgresql/contrib/pageinspect/sql
Tom Lane e2933a6e11 Prevent instability in contrib/pageinspect's regression test.
pageinspect has occasionally failed on slow buildfarm members,
with symptoms indicating that the expected effects of VACUUM
FREEZE didn't happen.  This is presumably because a background
transaction such as auto-analyze was holding back global xmin.

We can work around that by using a temp table in the test.
Since commit a7212be8b, that will use an up-to-date cutoff xmin
regardless of other processes.  And pageinspect itself shouldn't
really care whether the table is temp.

Back-patch to v14.  There would be no point in older branches
without back-patching a7212be8b, which seems like more trouble
than the problem is worth.

Discussion: https://postgr.es/m/2892135.1668976646@sss.pgh.pa.us
2022-11-21 10:50:50 -05:00
..
brin.sql pageinspect: Fix handling of all-zero pages 2022-04-14 15:08:03 +09:00
btree.sql pageinspect: Fix handling of all-zero pages 2022-04-14 15:08:03 +09:00
checksum.sql Add an explicit test to catch changes in checksumming calculations. 2020-03-08 15:09:14 -04:00
gin.sql pageinspect: Fix handling of all-zero pages 2022-04-14 15:08:03 +09:00
gist.sql pageinspect: Fix handling of all-zero pages 2022-04-14 15:08:03 +09:00
hash.sql pageinspect: Fix handling of all-zero pages 2022-04-14 15:08:03 +09:00
oldextversions.sql pageinspect: Improve page_header() for pages of 32kB 2021-07-12 11:05:27 +09:00
page.sql Prevent instability in contrib/pageinspect's regression test. 2022-11-21 10:50:50 -05:00