PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "access/xact.h"
#include "access/xloginsert.h"
#include "miscadmin.h"
#include "replication/message.h"
Go to the source code of this file.
Functions | |
XLogRecPtr | LogLogicalMessage (const char *prefix, const char *message, size_t size, bool transactional, bool flush) |
void | logicalmsg_redo (XLogReaderState *record) |
void logicalmsg_redo | ( | XLogReaderState * | record | ) |
Definition at line 87 of file message.c.
References elog, PANIC, XLOG_LOGICAL_MESSAGE, XLogRecGetInfo, and XLR_INFO_MASK.
XLogRecPtr LogLogicalMessage | ( | const char * | prefix, |
const char * | message, | ||
size_t | size, | ||
bool | transactional, | ||
bool | flush | ||
) |
Definition at line 43 of file message.c.
References Assert, xl_logical_message::dbId, GetCurrentTransactionId(), IsTransactionState(), xl_logical_message::message_size, MyDatabaseId, xl_logical_message::prefix_size, size, SizeOfLogicalMessage, xl_logical_message::transactional, XLOG_INCLUDE_ORIGIN, XLOG_LOGICAL_MESSAGE, XLogBeginInsert(), XLogFlush(), XLogInsert(), XLogRegisterData(), and XLogSetRecordFlags().
Referenced by pg_logical_emit_message_bytea().