Re: Odd, intermittent failure in contrib/pageinspect
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, pgsql-hackers@lists.postgresql.org
Date: 2021-01-20T06:29:09Z
Lists: pgsql-hackers
On Tue, Jan 19, 2021 at 05:03:49PM -0500, Tom Lane wrote: > It looks to me like heap_surgery ought to be okay, because it's operating > on a temp table; if there are any page access conflicts on that, we've > got BIG trouble ;-) Bah, of course. I managed to miss this part. > Poking around, I found a few other places where it looked like a skipped > page could produce diffs in the expected output: > contrib/amcheck/t/001_verify_heapam.pl > contrib/pg_visibility/sql/pg_visibility.sql > > There are lots of other vacuums of course, but they don't look like > a missed page would have any effect on the visible results, so I think > we should leave them alone. Yeah, I got to wonder a bit about check_btree.sql on a second look, but that's no big deal to leave it alone either. > In short I propose the attached patch, which also gets rid of > that duplicate query. Agreed, +1. -- Michael
Commits
-
Disable vacuum page skipping in selected test cases.
- c2dc1a79767a 14.0 landed
- a57dbfcda553 13.2 landed
- 6a97ca31288d 11.11 landed
- 53a24faaa403 12.6 landed
- 3ae247d40231 10.16 landed