PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | BlockIdData |
Macros | |
#define | InvalidBlockNumber ((BlockNumber) 0xFFFFFFFF) |
#define | MaxBlockNumber ((BlockNumber) 0xFFFFFFFE) |
Typedefs | |
typedef uint32 | BlockNumber |
typedef struct BlockIdData | BlockIdData |
typedef BlockIdData * | BlockId |
Functions | |
static bool | BlockNumberIsValid (BlockNumber blockNumber) |
static void | BlockIdSet (BlockIdData *blockId, BlockNumber blockNumber) |
static bool | BlockIdEquals (const BlockIdData *blockId1, const BlockIdData *blockId2) |
static BlockNumber | BlockIdGetBlockNumber (const BlockIdData *blockId) |
#define InvalidBlockNumber ((BlockNumber) 0xFFFFFFFF) |
#define MaxBlockNumber ((BlockNumber) 0xFFFFFFFE) |
typedef BlockIdData* BlockId |
typedef struct BlockIdData BlockIdData |
typedef uint32 BlockNumber |
|
inlinestatic |
|
inlinestatic |
Definition at line 103 of file block.h.
References BlockIdData::bi_hi, and BlockIdData::bi_lo.
Referenced by gin_desc(), ginRedoInsert(), and ItemPointerGetBlockNumberNoCheck().
|
inlinestatic |
Definition at line 81 of file block.h.
References BlockIdData::bi_hi, and BlockIdData::bi_lo.
Referenced by ginPlaceToPage(), ItemPointerSet(), ItemPointerSetBlockNumber(), and ItemPointerSetInvalid().
|
inlinestatic |
Definition at line 71 of file block.h.
References InvalidBlockNumber.
Referenced by _bt_getbuf(), _bt_insert_parent(), _bt_insertonpg(), _bt_relandgetbuf(), _bt_unlink_halfdead_page(), _hash_addovflpage(), _hash_doinsert(), _hash_finish_split(), _hash_first(), _hash_freeovflpage(), _hash_next(), _hash_readnext(), _hash_readprev(), _hash_splitbucket(), _hash_squeezebucket(), autovac_report_workitem(), bottomup_sort_and_shrink(), brin_bloom_get_ndistinct(), brinRevmapDesummarizeRange(), bt_child_highkey_check(), btree_xlog_unlink_page(), DropRelationBuffers(), DropRelationsAllBuffers(), hash_xlog_add_ovfl_page(), hashbucketcleanup(), heapam_scan_sample_next_block(), main(), pg_truncate_visibility_map(), PredicateLockPageSplit(), PrefetchBuffer(), PrefetchSharedBuffer(), RelationAddBlocks(), RelationTruncate(), smgr_redo(), smgrDoPendingSyncs(), and vacuum_error_callback().