diff options
author | Peter Geoghegan | 2020-09-16 17:42:30 +0000 |
---|---|---|
committer | Peter Geoghegan | 2020-09-16 17:42:30 +0000 |
commit | aac80bfcddf7df3fbd1eb73e8a386115d922c714 (patch) | |
tree | ac0b52df9a0d93d6f9920b3bf5f5d4e9eb9ecb5c /src/backend | |
parent | e5fac1cb1941e4adbcb88206f914e2035e5cccf2 (diff) |
Fix amcheck child check pg_upgrade bug.
Commit d114cc53 overlooked the fact that pg_upgrade'd B-Tree indexes
have leaf page high keys whose offset numbers do not match the one from
the copy of the tuple one level up (the copy stored with a downlink for
leaf page's right sibling page). This led to false positive reports of
corruption from bt_index_parent_check() when it was called to verify a
pg_upgrade'd index.
To fix, skip comparing the offset number on pg_upgrade'd B-Tree indexes.
Author: Anastasia Lubennikova <[email protected]>
Author: Peter Geoghegan <[email protected]>
Reported-By: Andrew Bille <[email protected]>
Diagnosed-By: Anastasia Lubennikova <[email protected]>
Bug: #16619
Discussion: https://postgr.es/m/[email protected]
Backpatch: 13-, where child check was enhanced.
Diffstat (limited to 'src/backend')
0 files changed, 0 insertions, 0 deletions