pgsql: Add nbtree page deletion assertion.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Add nbtree page deletion assertion.

Peter Geoghegan-4
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a451b7d44249b8655db8d40476ace9f84d76ab88

Modified Files
--------------
src/backend/access/nbtree/nbtpage.c | 1 +
1 file changed, 1 insertion(+)