• Peter Geoghegan's avatar
    Correct obsolete nbtree recovery comments. · 60f3cc95
    Peter Geoghegan authored
    Commit 40dae7ec, which made the handling of interrupted nbtree page
    splits more robust, removed an nbtree-specific end-of-recovery cleanup
    step.  This meant that it was no longer possible to complete an
    interrupted page split during recovery.  However, a reference to
    recovery as a reason for using a NULL stack while inserting into a
    parent page was missed.  Remove the reference.
    
    Remove a similar obsolete reference to recovery that was introduced much
    more recently, as part of the btree fastpath optimization enhancement
    that made it into Postgres 11 (commit 2b272734, and follow-up commits).
    
    Backpatch: 11-, where the fastpath optimization was introduced.
    60f3cc95
nbtinsert.c 77 KB