Re: Corrupted btree index on HEAD because of covering indexes
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: Teodor Sigaev <teodor@sigaev.ru>
Cc: Michael Paquier <michael@paquier.xyz>,
Postgres hackers <pgsql-hackers@postgresql.org>, Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Date: 2018-04-25T16:38:12Z
Lists: pgsql-hackers
Attachments
- 0001-Add-amcheck-missing-downlink-tests.patch (text/x-patch) patch 0001
On Wed, Apr 25, 2018 at 8:06 AM, Teodor Sigaev <teodor@sigaev.ru> wrote: > Leave it in both places. In ideal world, in amcheck test we need to create a > broken index, but I don't know a correct way to do it :) There are many ways to create a broken index, but they're hard to make work with pg_regress. :-) It looks like you pushed v1, which didn't have the tests and other changes you asked for. Attached patch adds those back. Thanks -- Peter Geoghegan
Commits
-
Add missing and dangling downlink checks to amcheck
- 4eaf7eaccb29 11.0 landed
-
Fix wrong validation of top-parent pointer during page deletion in Btree.
- 6db4b49986be 11.0 landed
-
Add integrity-checking functions to pg_visibility.
- e472ce9624e0 9.6.0 cited
-
Make the handling of interrupted B-tree page splits more robust.
- 40dae7ec537c 9.4.0 cited