You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
nbtree: Pass down MAXALIGN()'d itemsz for new item.
Refactor nbtinsert.c so that the final itemsz of each new non-pivottuple (the MAXALIGN()'d size) is determined once. Most of the functionsused by leaf page inserts used the insertstate.itemsz value already.This commit makes everything use insertstate.itemsz as standardpractice. The goal is to decouple tuple size from "effective" tuplesize. Making this distinction isn't truly necessary right now, but thatmight change in the future.Also explain why we consistently apply MAXALIGN() to get an effectiveindex tuple size. This was rather unclear, in part because it isn'tactually strictly necessary right now.