Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines | Typedefs

off.h File Reference

#include "storage/itemid.h"
Include dependency graph for off.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#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)
#define MaxOffsetNumber   ((OffsetNumber) (BLCKSZ / sizeof(ItemIdData)))

Definition at line 28 of file off.h.

#define OffsetNumberIsValid (   offsetNumber  ) 
Value:
((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 OffsetNumberMask   (0xffff)

Definition at line 29 of file off.h.

#define OffsetNumberNext (   offsetNumber  )     ((OffsetNumber) (1 + (offsetNumber)))
#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 Documentation

Definition at line 24 of file off.h.