Commit 1e07f5e
committed
Remove overzealous _bt_split() assertions.
_bt_split() is passed NULL as its insertion scankey for internal page
splits. Two recently added Assert() statements failed to consider this,
leading to a crash with pg_upgrade'd BREE_VERSION < 4 indexes. Remove
the assertions.
The assertions in question were added by commit 0d861bb, which added
nbtree deduplication. It would be possible to fix the assertions
directly instead, but they weren't adding much anyway.1 parent 0b48f13 commit 1e07f5e
1 file changed
+0
-2
lines changed| 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