88 elog(
PANIC,
"brin_xlog_insert_update: invalid max offset number");
92 elog(
PANIC,
"brin_xlog_insert_update: failed to add tuple");
193 elog(
PANIC,
"brin_xlog_samepage_update: failed to replace tuple");
334 elog(
PANIC,
"brin_redo: unknown op code %u", info);
#define BRIN_IS_META_PAGE(page)
#define BrinPageFlags(page)
#define BRIN_PAGETYPE_REVMAP
#define BRIN_PAGETYPE_REGULAR
#define BRIN_IS_REGULAR_PAGE(page)
void brin_page_init(Page page, uint16 type)
void brin_metapage_init(Page page, BlockNumber pagesPerRange, uint16 version)
void brinSetHeapBlockItemptr(Buffer buf, BlockNumber pagesPerRange, BlockNumber heapBlk, ItemPointerData tid)
static void brin_xlog_desummarize_page(XLogReaderState *record)
void brin_redo(XLogReaderState *record)
static void brin_xlog_update(XLogReaderState *record)
static void brin_xlog_revmap_extend(XLogReaderState *record)
static void brin_xlog_createidx(XLogReaderState *record)
static void brin_xlog_insert(XLogReaderState *record)
static void brin_xlog_insert_update(XLogReaderState *record, xl_brin_insert *xlrec)
void brin_mask(char *pagedata, BlockNumber blkno)
static void brin_xlog_samepage_update(XLogReaderState *record)
#define XLOG_BRIN_REVMAP_EXTEND
#define XLOG_BRIN_SAMEPAGE_UPDATE
#define XLOG_BRIN_DESUMMARIZE
#define XLOG_BRIN_CREATE_INDEX
#define XLOG_BRIN_INIT_PAGE
void mask_page_lsn_and_checksum(Page page)
void mask_unused_space(Page page)
void mask_page_hint_bits(Page page)
BlockNumber BufferGetBlockNumber(Buffer buffer)
void UnlockReleaseBuffer(Buffer buffer)
void MarkBufferDirty(Buffer buffer)
static Page BufferGetPage(Buffer buffer)
static bool BufferIsValid(Buffer bufnum)
bool PageIndexTupleOverwrite(Page page, OffsetNumber offnum, Item newtup, Size newsize)
void PageIndexTupleDeleteNoCompact(Page page, OffsetNumber offnum)
PageHeaderData * PageHeader
#define SizeOfPageHeaderData
static char * PageGetContents(Page page)
static void PageSetLSN(Page page, XLogRecPtr lsn)
static OffsetNumber PageGetMaxOffsetNumber(Page page)
#define PageAddItem(page, item, size, offsetNumber, overwrite, is_heap)
#define Assert(condition)
static void ItemPointerSet(ItemPointerData *pointer, BlockNumber blockNumber, OffsetNumber offNum)
static void ItemPointerSetInvalid(ItemPointerData *pointer)
#define InvalidOffsetNumber
BlockNumber lastRevmapPage
BlockNumber pagesPerRange
BlockNumber pagesPerRange
BlockNumber pagesPerRange
char * XLogRecGetBlockData(XLogReaderState *record, uint8 block_id, Size *len)
void XLogRecGetBlockTag(XLogReaderState *record, uint8 block_id, RelFileLocator *rlocator, ForkNumber *forknum, BlockNumber *blknum)
#define XLogRecGetInfo(decoder)
#define XLogRecGetData(decoder)
XLogRedoAction XLogReadBufferForRedo(XLogReaderState *record, uint8 block_id, Buffer *buf)
Buffer XLogInitBufferForRedo(XLogReaderState *record, uint8 block_id)