- Notifications
You must be signed in to change notification settings - Fork28
Commitc287f58
committed
Fix amcheck child check pg_upgrade bug.
Commitd114cc5 overlooked the fact that pg_upgrade'd B-Tree indexeshave leaf page high keys whose offset numbers do not match the one fromthe copy of the tuple one level up (the copy stored with a downlink forleaf page's right sibling page). This led to false positive reports ofcorruption from bt_index_parent_check() when it was called to verify apg_upgrade'd index.To fix, skip comparing the offset number on pg_upgrade'd B-Tree indexes.Author: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>Author: Peter Geoghegan <pg@bowt.ie>Reported-By: Andrew Bille <andrewbille@gmail.com>Diagnosed-By: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>Bug: #16619Discussion:https://postgr.es/m/16619-aaba10f83fdc1c3c@postgresql.orgBackpatch: 13-, where child check was enhanced.1 parent17280b3 commitc287f58
1 file changed
+28
-6
lines changedLines changed: 28 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1624 | 1624 |
| |
1625 | 1625 |
| |
1626 | 1626 |
| |
1627 |
| - | |
| 1627 | + | |
1628 | 1628 |
| |
1629 | 1629 |
| |
1630 | 1630 |
| |
1631 | 1631 |
| |
1632 |
| - | |
1633 |
| - | |
1634 |
| - | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
1635 | 1657 |
| |
1636 | 1658 |
| |
1637 | 1659 |
| |
| |||
1785 | 1807 |
| |
1786 | 1808 |
| |
1787 | 1809 |
| |
1788 |
| - | |
| 1810 | + | |
1789 | 1811 |
| |
1790 | 1812 |
| |
1791 | 1813 |
| |
| |||
1879 | 1901 |
| |
1880 | 1902 |
| |
1881 | 1903 |
| |
1882 |
| - | |
| 1904 | + | |
1883 | 1905 |
| |
1884 | 1906 |
| |
1885 | 1907 |
| |
|
0 commit comments
Comments
(0)