pgsql: PageAddItemExtended(): Add LP_UNUSED assertion. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: PageAddItemExtended(): Add LP_UNUSED assertion.
Date
Msg-id E1lQiIF-0004I7-W4@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/30aaab26e52144097a1a5bbb0bb66ea1ebc0cb81

Modified Files
--------------
src/backend/storage/page/bufpage.c | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Cache if PathTarget and RestrictInfos contain volatile functions
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Reset standard_conforming_strings in strings test