#include "storage/itemid.h"
Go to the source code of this file.
Defines | |
#define | InvalidOffsetNumber ((OffsetNumber) 0) |
#define | FirstOffsetNumber ((OffsetNumber) 1) |
#define | MaxOffsetNumber ((OffsetNumber) (BLCKSZ / sizeof(ItemIdData))) |
#define | OffsetNumberMask (0xffff) |
#define | OffsetNumberIsValid(offsetNumber) |
#define | OffsetNumberNext(offsetNumber) ((OffsetNumber) (1 + (offsetNumber))) |
#define | OffsetNumberPrev(offsetNumber) ((OffsetNumber) (-1 + (offsetNumber))) |
Typedefs | |
typedef uint16 | OffsetNumber |
#define FirstOffsetNumber ((OffsetNumber) 1) |
Definition at line 27 of file off.h.
Referenced by _bt_restore_page(), _hash_binsearch_last(), _hash_splitbucket(), _hash_squeezebucket(), _hash_step(), _ltree_picksplit(), acquire_sample_rows(), bitgetpage(), checkSplitConditions(), count_nondeletable_pages(), dataFindChildPtr(), dataGetLeftMostPage(), dataLocateItem(), dataSplitPage(), doPickSplit(), entryFindChildPtr(), entryGetLeftMostPage(), entryGetNextItem(), entryLocateEntry(), entrySplitPage(), fallbackSplit(), fill_seq_with_data(), findItemInPostingPage(), g_cube_picksplit(), g_int_picksplit(), g_intbig_picksplit(), gbt_num_picksplit(), gbt_var_picksplit(), genericPickSplit(), GetBTPageStatistics(), ghstore_picksplit(), ginbulkdelete(), ginHeapTupleFastInsert(), ginInsertBAEntries(), ginInsertCleanup(), ginNewScanKey(), GinPageDeletePostingItem(), ginRedoInsert(), ginRedoUpdateMetapage(), ginRedoVacuumPage(), ginScanToDelete(), gintuple_get_attrnum(), gintuple_get_key(), ginVacuumEntryPage(), ginVacuumPostingTreeLeaves(), gist_box_picksplit(), gistBufferingFindCorrectParent(), gistbufferinginserttuples(), gistbulkdelete(), gistchoose(), gistextractpage(), gistfillbuffer(), gistFindCorrectParent(), gistFindPath(), gistformdownlink(), gistGetMaxLevel(), gistMemorizeAllDownlinks(), gistRedoPageSplitRecord(), gistRedoPageUpdateRecord(), gistScanPage(), gistUserPicksplit(), gtrgm_picksplit(), gtsquery_picksplit(), gtsvector_picksplit(), hashbulkdelete(), heap_get_root_tuples(), heap_insert(), heap_multi_insert(), heap_page_is_all_visible(), heap_page_prune(), heap_xlog_multi_insert(), heapgetpage(), heapgettup(), lazy_check_needs_freeze(), lazy_scan_heap(), log_heap_update(), ltree_picksplit(), moveLeafs(), PageGetHeapFreeSpace(), PageIndexMultiDelete(), PageRepairFragmentation(), pgstat_gist_page(), pgstat_hash_page(), processPendingPage(), range_gist_class_split(), range_gist_double_sorting_split(), range_gist_fallback_split(), range_gist_picksplit(), range_gist_single_sorting_split(), read_seq_tuple(), resetSpGistScanOpaque(), scanPostingTree(), spgWalk(), startScanEntry(), vacuumLeafPage(), vacuumLeafRoot(), vacuumRedirectAndPlaceholder(), and xlogVacuumPage().
#define InvalidOffsetNumber ((OffsetNumber) 0) |
Definition at line 26 of file off.h.
Referenced by _bt_findinsertloc(), _bt_newroot(), _bt_pgaddtup(), _bt_restore_page(), _bt_sortaddtup(), _hash_pgaddtup(), _hash_step(), addLeafTuple(), btree_xlog_insert(), btree_xlog_split(), checkSplitConditions(), dataSplitPage(), doPickSplit(), entrySplitPage(), ginContinueSplit(), ginDataFillRoot(), GinDataPageAddItem(), ginEntryFillRoot(), ginFindParents(), ginHeapTupleFastInsert(), ginInsertValue(), ginRedoInsert(), ginRedoInsertListPage(), ginRedoSplit(), ginRedoUpdateMetapage(), ginRedoVacuumPage(), ginVacuumPostingTree(), gistBufferingFindCorrectParent(), gistbufferinginserttuples(), gistdoinsert(), gistfillbuffer(), gistFindCorrectParent(), gistfinishsplit(), gistnospace(), gistplacetopage(), gistProcessItup(), gistRedoPageUpdateRecord(), gistUserPicksplit(), heap_xlog_insert(), heap_xlog_multi_insert(), heap_xlog_update(), moveLeafs(), raw_heap_insert(), RelationPutHeapTuple(), seq_redo(), spgAddNodeAction(), spgFormDeadTuple(), SpGistPageAddNewItem(), spgRedoAddLeaf(), spgRedoAddNode(), spgRedoPickSplit(), spgRedoVacuumLeaf(), spgRedoVacuumRedirect(), spgWalk(), vacuumLeafPage(), vacuumRedirectAndPlaceholder(), and writeListPage().
#define MaxOffsetNumber ((OffsetNumber) (BLCKSZ / sizeof(ItemIdData))) |
#define OffsetNumberIsValid | ( | offsetNumber | ) |
((bool) ((offsetNumber != InvalidOffsetNumber) && \ (offsetNumber <= MaxOffsetNumber)))
Definition at line 40 of file off.h.
Referenced by _hash_binsearch(), _hash_binsearch_last(), gistfixsplit(), gistplacetopage(), heap_prune_chain(), IndexBuildHeapScan(), PageAddItem(), and validate_index_heapscan().
#define OffsetNumberNext | ( | offsetNumber | ) | ((OffsetNumber) (1 + (offsetNumber))) |
Definition at line 53 of file off.h.
Referenced by _bt_buildadd(), _bt_check_unique(), _bt_findsplitloc(), _bt_getstackbuf(), _bt_killitems(), _bt_pagedel(), _bt_readpage(), _bt_slideleft(), _bt_split(), _bt_vacuum_one_page(), _hash_splitbucket(), _hash_squeezebucket(), _hash_step(), _ltree_picksplit(), bitgetpage(), btree_xlog_delete_page(), btvacuumpage(), count_nondeletable_pages(), fallbackSplit(), g_cube_picksplit(), g_int_picksplit(), g_intbig_picksplit(), gbt_num_picksplit(), gbt_var_picksplit(), genericPickSplit(), ghstore_picksplit(), ginHeapTupleFastInsert(), ginRedoUpdateMetapage(), gintuple_get_key(), gist_box_picksplit(), gistBufferingFindCorrectParent(), gistbulkdelete(), gistchoose(), gistextractpage(), gistfillbuffer(), gistFindCorrectParent(), gistFindPath(), gistformdownlink(), gistRedoPageUpdateRecord(), gistScanPage(), gtrgm_picksplit(), gtsquery_picksplit(), gtsvector_picksplit(), hashbulkdelete(), hashgettuple(), heap_get_root_tuples(), heap_page_is_all_visible(), heap_page_prune(), heapgettup(), lazy_check_needs_freeze(), lazy_scan_heap(), ltree_picksplit(), PageAddItem(), PageGetHeapFreeSpace(), PageIndexMultiDelete(), pgstat_index_page(), processPendingPage(), range_gist_class_split(), range_gist_double_sorting_split(), range_gist_picksplit(), and range_gist_single_sorting_split().
#define OffsetNumberPrev | ( | offsetNumber | ) | ((OffsetNumber) (-1 + (offsetNumber))) |
Definition at line 55 of file off.h.
Referenced by _bt_binsrch(), _bt_first(), _bt_getstackbuf(), _bt_readpage(), _hash_step(), and heapgettup().
typedef uint16 OffsetNumber |