| 482 | } |
| 483 | |
| 484 | static inline bool |
| 485 | BTreeTupleIsPosting(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 | |
| 496 | static inline void |
| 497 | BTreeTupleSetPosting(IndexTuple itup, uint16 nhtids, int postingoffset) |
no outgoing calls
no test coverage detected