Add nbtree page deletion assertion

Enterprise / PostgreSQL - Peter Geoghegan [bowt.ie] - 3 August 2020 20:04 UTC

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.

a451b7d442 Add nbtree page deletion assertion.
src/backend/access/nbtree/nbtpage.c | 1 +
1 file changed, 1 insertion(+)

Upstream: git.postgresql.org


  • Share