MCPcopy Create free account
hub / github.com/apache/cloudberry / BTreeTupleIsPosting

Function BTreeTupleIsPosting

src/include/access/nbtree.h:484–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484static inline bool
485BTreeTupleIsPosting(IndexTuple itup)
486{
487 if ((itup->t_info & INDEX_ALT_TID_MASK) == 0)
488 return false;
489 /* presence of BT_IS_POSTING in offset number indicates posting tuple */
490 if ((ItemPointerGetOffsetNumberNoCheck(&itup->t_tid) & BT_IS_POSTING) == 0)
491 return false;
492
493 return true;
494}
495
496static inline void
497BTreeTupleSetPosting(IndexTuple itup, uint16 nhtids, int postingoffset)

Callers 15

bt_target_page_checkFunction · 0.85
bt_normalize_tupleFunction · 0.85
bt_posting_plain_tupleFunction · 0.85
bt_page_print_tuplesFunction · 0.85
_bt_check_uniqueFunction · 0.85
_bt_insertonpgFunction · 0.85
_bt_splitFunction · 0.85
_bt_simpledel_passFunction · 0.85
_bt_deadblocksFunction · 0.85
_bt_killitemsFunction · 0.85
_bt_truncateFunction · 0.85
_bt_check_nattsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected