Go to the source code of this file.
◆ RM_TESTCUSTOMRMGRS_ID
◆ SizeOfTestCustomRmgrsMessage
◆ TESTCUSTOMRMGRS_NAME
#define TESTCUSTOMRMGRS_NAME "test_custom_rmgrs" |
◆ XLOG_TEST_CUSTOM_RMGRS_MESSAGE
#define XLOG_TEST_CUSTOM_RMGRS_MESSAGE 0x00 |
◆ xl_testcustomrmgrs_message
◆ _PG_init()
◆ PG_FUNCTION_INFO_V1()
◆ test_custom_rmgrs_insert_wal_record()
Definition at line 120 of file test_custom_rmgrs.c.
#define PG_GETARG_TEXT_PP(n)
#define XLOG_TEST_CUSTOM_RMGRS_MESSAGE
#define SizeOfTestCustomRmgrsMessage
#define VARSIZE_ANY_EXHDR(PTR)
#define XLOG_MARK_UNIMPORTANT
XLogRecPtr XLogInsert(RmgrId rmid, uint8 info)
void XLogSetRecordFlags(uint8 flags)
void XLogRegisterData(const char *data, uint32 len)
void XLogBeginInsert(void)
References arg, len, xl_testcustomrmgrs_message::message_size, PG_GETARG_TEXT_PP, PG_RETURN_LSN, RM_TESTCUSTOMRMGRS_ID, SizeOfTestCustomRmgrsMessage, VARDATA_ANY, VARSIZE_ANY_EXHDR, XLOG_MARK_UNIMPORTANT, XLOG_TEST_CUSTOM_RMGRS_MESSAGE, XLogBeginInsert(), XLogInsert(), XLogRegisterData(), and XLogSetRecordFlags().
◆ testcustomrmgrs_desc()
Definition at line 91 of file test_custom_rmgrs.c.
void appendStringInfo(StringInfo str, const char *fmt,...)
void appendBinaryStringInfo(StringInfo str, const void *data, int datalen)
char message[FLEXIBLE_ARRAY_MEMBER]
#define XLogRecGetInfo(decoder)
#define XLogRecGetData(decoder)
References appendBinaryStringInfo(), appendStringInfo(), buf, xl_testcustomrmgrs_message::message, xl_testcustomrmgrs_message::message_size, XLOG_TEST_CUSTOM_RMGRS_MESSAGE, XLogRecGetData, XLogRecGetInfo, and XLR_INFO_MASK.
◆ testcustomrmgrs_identify()
const char * testcustomrmgrs_identify |
( |
uint8 |
info | ) |
|
◆ testcustomrmgrs_redo()
◆ PG_MODULE_MAGIC
◆ testcustomrmgrs_rmgr
Initial value:= {
}
void testcustomrmgrs_desc(StringInfo buf, XLogReaderState *record)
const char * testcustomrmgrs_identify(uint8 info)
#define TESTCUSTOMRMGRS_NAME
void testcustomrmgrs_redo(XLogReaderState *record)
Definition at line 55 of file test_custom_rmgrs.c.
Referenced by _PG_init().