Re: BUG #15896: pg_upgrade from 10-or-earlier: TRAP: FailedAssertion(»!(metad->btm_version >= 3)«
Christoph Berg <myon@debian.org>
From: Christoph Berg <myon@debian.org>
To: Peter Geoghegan <pg@bowt.ie>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2019-07-06T13:11:18Z
Lists: pgsql-bugs
Re: Peter Geoghegan 2019-07-06 <CAH2-WznYXDG6aANoag5ixoMrV=0bD-W5i9cVq4cRkb-fA4xRmw@mail.gmail.com> > > When pg_upgrading from 10-or-earlier to 12beta2 or 13devel, an assertion is > > raised. (Spotted by Debian's postgresql-common upgrade tests. Previously > > missed because we were only testing version+1 upgrades.) > > Obviously you were right to adopt pg_upgrade tests that cross more > than one version at a time. Thanks! Indeed, and running 9.6->10->11 tests (that were present before as well, but never run) revealed another bug in pg_upgradecluster itself... Testsuites are just awesome. Christoph
Commits
-
Fix nbtree metapage cache upgrade bug.
- d004147eb3ec 13.0 landed
- 7772dece9850 12.0 landed
- 6523f2ed3441 11.5 landed
-
Make heap TID a tiebreaker nbtree index column.
- dd299df8189b 12.0 cited
-
Fix handling of non-upgraded B-tree metapages
- 0a64b45152b5 11.0 cited
-
Skip full index scan during cleanup of B-tree indexes when possible
- 857f9c36cda5 11.0 cited