• Peter Geoghegan's avatar
    nbtree: Demote incomplete split "can't happen" error. · 46cf3c72
    Peter Geoghegan authored
    Only a basic logic bug in a _bt_insertonpg() caller could lead to a
    violation of this invariant (index corruption won't do it).  A "can't
    happen" error seems inappropriate (it is arbitrary at best).
    
    Demote the error to a simple assertion.  This matches similar nearby
    sanity checks.
    46cf3c72
nbtinsert.c 91.2 KB