mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
Rename nbtree tuple macros.
Rename two function-style macros, removing the word "inner". This makes things more consistent.
This commit is contained in:
@@ -298,10 +298,10 @@ typedef struct BTMetaPageData
|
||||
#define BT_N_KEYS_OFFSET_MASK 0x0FFF
|
||||
#define BT_HEAP_TID_ATTR 0x1000
|
||||
|
||||
/* Get/set downlink block number */
|
||||
#define BTreeInnerTupleGetDownLink(itup) \
|
||||
/* Get/set downlink block number in pivot tuple */
|
||||
#define BTreeTupleGetDownLink(itup) \
|
||||
ItemPointerGetBlockNumberNoCheck(&((itup)->t_tid))
|
||||
#define BTreeInnerTupleSetDownLink(itup, blkno) \
|
||||
#define BTreeTupleSetDownLink(itup, blkno) \
|
||||
ItemPointerSetBlockNumber(&((itup)->t_tid), (blkno))
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user