Add nbtree page deletion assertion.
authorPeter Geoghegan <pg@bowt.ie>
Mon, 3 Aug 2020 20:04:42 +0000 (13:04 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Mon, 3 Aug 2020 20:04:42 +0000 (13:04 -0700)
commita451b7d44249b8655db8d40476ace9f84d76ab88
treecfdc9079c206988dd7672bfa93963f933c360b22
parent9e496768b8a7303ea07888ea1baae8e2a57dda7b
Add nbtree page deletion assertion.

Add a documenting assertion that's similar to the nearby assertion added
by commit cd8c73a3.  This conveys that the entire call to _bt_pagedel()
does no work if it isn't possible to get a descent stack for the initial
scanblkno page.
src/backend/access/nbtree/nbtpage.c