There already was a macro PageGetItemId; this is now used in (almost)
Bruce Momjian <bruce@momjian.us>
There already was a macro PageGetItemId; this is now used in (almost) all places, where pd_linp is accessed. Also introduce new macros SizeOfPageHeaderData and BTMaxItemSize. This is just source code cosmetic, no behaviour changed. Manfred Koizar
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +2 −2 |
| src/backend/access/nbtree/nbtinsert.c | modified | +5 −7 |
| src/backend/access/nbtree/nbtsort.c | modified | +3 −4 |
| src/backend/storage/page/bufpage.c | modified | +23 −22 |
| src/include/access/nbtree.h | modified | +10 −2 |
| src/include/storage/bufpage.h | modified | +15 −5 |