PageAddItemExtended(): Add LP_UNUSED assertion.

Peter Geoghegan <pg@bowt.ie>

Commit: 30aaab26e52144097a1a5bbb0bb66ea1ebc0cb81
Author: Peter Geoghegan <pg@bowt.ie>
Date: 2021-03-29T03:10:02Z
Releases: 14.0
PageAddItemExtended(): Add LP_UNUSED assertion.

Assert that LP_UNUSED items have no storage.  If it's worth having
defensive code in non-assert builds then it's worth having an assertion
as well.

Files

PathChange+/−
src/backend/storage/page/bufpage.c modified +13 −7