Re: recovering from "found xmin ... from before relfrozenxid ..."
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2020-07-13T21:28:25Z
Lists: pgsql-hackers
Greetings, * Robert Haas (robertmhaas@gmail.com) wrote: > - Do people think it would me smart/good/useful to include something > like this in PostgreSQL? Absolutely, yes. > - If so, how? I would propose a new contrib module that we back-patch > all the way, because the VACUUM errors were back-patched all the way, > and there seems to be no advantage in making people wait 5 years for a > new version that has some kind of tooling in this area. While I agree that this would be a good and useful new contrib module to have, I don't think it would be appropriate to back-patch it into PG formally. Unfortunately, that gets into the discussion that's cropped up on a few other threads of late- that we don't have a good place to put extensions which are well maintained/recommended by core PG hackers, and which are able to work with lots of different versions of PG, and are versioned and released independently of PG (and, ideally, built for all the versions of PG that we distribute through our packages). Given the lack of such a place today, I'd at least suggest starting with proposing it as a new contrib module for v14. > - Any ideas for additional things we should include, or improvements > on the sketch above? Not right off-hand, but will think about it, there could certainly be a lot of very interesting tools in such a toolbox. Thanks! Stephen
Commits
-
Fix wrong data table horizon computation during backend startup.
- 1c7675a7a426 14.0 landed
-
Centralize horizon determination for temp tables, fixing bug due to skew.
- 94bc27b57680 14.0 landed
-
pg_surgery: Try to stabilize regression tests.
- 0811f766fd74 14.0 landed
-
New contrib module, pg_surgery, with heap surgery functions.
- 34a947ca13e5 14.0 landed
-
Set cutoff xmin more aggressively when vacuuming a temporary table.
- a7212be8b9e0 14.0 cited
-
snapshot scalability: Don't compute global horizons while building snapshots.
- dc7420c2c927 14.0 cited
-
Introduce vacuum errcontext to display additional information.
- b61d161c1463 13.0 cited