Re: Bugs in TOAST handling, OID assignment and redo recovery
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Pavan Deolasee <pavan.deolasee@gmail.com>,
Heikki Linnakangas <hlinnaka@iki.fi>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-04-11T23:51:35Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes: > I have not really checked this thread in details, but one thing that > strikes me is that it would be rather easy to add a TAP test based on > the initial script that Pavan has sent. Would that be worth testing > cycles or not? I doubt it --- that test is so specialized that it'd be unlikely to catch any other bug. An example of the sort of bug that could exist in the same area would be if we'd failed to note the places in tuptoaster.c that also need to be switched to SnapshotAny. Only a test covering heap-rewrite could have found that, which this test case surely doesn't. What I think would actually be worth spending some time on is taking a hard look at the remaining uses of SnapshotDirty to see if any of them look squishy. regards, tom lane
Commits
-
Ignore nextOid when replaying an ONLINE checkpoint.
- efbe36a2c1b0 9.5.13 landed
- 6943fb9275a5 9.4.18 landed
- 66d4b6bb8065 9.3.23 landed
- 060bb38d0750 9.6.9 landed
- d1e9079295e9 11.0 landed
- 08e6cda1c536 10.4 landed
-
Do not select new object OIDs that match recently-dead entries.
- 7448e7e23799 9.3.23 landed
- 5b3ed6b7880b 9.4.18 landed
- 3767216fbdb3 9.5.13 landed
- 8bba10f7e834 9.6.9 landed
- 5a11bf970705 10.4 landed
- 0408e1ed599b 11.0 landed