forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1e07f5e
committed
Remove overzealous _bt_split() assertions.
_bt_split() is passed NULL as its insertion scankey for internal pagesplits. Two recently added Assert() statements failed to consider this,leading to a crash with pg_upgrade'd BREE_VERSION < 4 indexes. Removethe assertions.The assertions in question were added by commit0d861bb, which addednbtree deduplication. It would be possible to fix the assertionsdirectly instead, but they weren't adding much anyway.1 parent0b48f13 commit1e07f5e
1 file changed
+0
-2
lines changedLines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1632 | 1632 |
| |
1633 | 1633 |
| |
1634 | 1634 |
| |
1635 |
| - | |
1636 | 1635 |
| |
1637 | 1636 |
| |
1638 | 1637 |
| |
| |||
1697 | 1696 |
| |
1698 | 1697 |
| |
1699 | 1698 |
| |
1700 |
| - | |
1701 | 1699 |
| |
1702 | 1700 |
| |
1703 | 1701 |
| |
|
0 commit comments
Comments
(0)