27 #define XLR_NORMAL_MAX_BLOCK_ID 4
28 #define XLR_NORMAL_RDATAS 20
31 #define REGBUF_FORCE_IMAGE 0x01
32 #define REGBUF_NO_IMAGE 0x02
33 #define REGBUF_WILL_INIT (0x04 | 0x02)
35 #define REGBUF_STANDARD 0x08
38 #define REGBUF_KEEP_DATA 0x10
40 #define REGBUF_NO_CHANGE 0x20
void XLogRegisterBufData(uint8 block_id, const char *data, uint32 len)
XLogRecPtr XLogInsert(RmgrId rmid, uint8 info)
bool XLogCheckBufferNeedsBackup(Buffer buffer)
XLogRecPtr XLogSaveBufferForHint(Buffer buffer, bool buffer_std)
void InitXLogInsert(void)
void XLogSetRecordFlags(uint8 flags)
void XLogRegisterBlock(uint8 block_id, RelFileLocator *rlocator, ForkNumber forknum, BlockNumber blknum, const char *page, uint8 flags)
void XLogRegisterData(const char *data, uint32 len)
void log_newpage_range(Relation rel, ForkNumber forknum, BlockNumber startblk, BlockNumber endblk, bool page_std)
void XLogResetInsertion(void)
XLogRecPtr log_newpage_buffer(Buffer buffer, bool page_std)
void log_newpages(RelFileLocator *rlocator, ForkNumber forknum, int num_pages, BlockNumber *blknos, char **pages, bool page_std)
void XLogRegisterBuffer(uint8 block_id, Buffer buffer, uint8 flags)
void XLogBeginInsert(void)
XLogRecPtr log_newpage(RelFileLocator *rlocator, ForkNumber forknum, BlockNumber blkno, char *page, bool page_std)
void XLogEnsureRecordSpace(int max_block_id, int ndatas)