PostgreSQL Source Code  git master
decode.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  * decode.h
3  * PostgreSQL WAL to logical transformation
4  *
5  * Portions Copyright (c) 2012-2024, PostgreSQL Global Development Group
6  *
7  *-------------------------------------------------------------------------
8  */
9 #ifndef DECODE_H
10 #define DECODE_H
11 
12 #include "access/xlogreader.h"
13 #include "access/xlogrecord.h"
14 #include "replication/logical.h"
16 
17 typedef struct XLogRecordBuffer
18 {
23 
30 
32  XLogReaderState *record);
33 
34 #endif
void heap2_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:405
void LogicalDecodingProcessRecord(LogicalDecodingContext *ctx, XLogReaderState *record)
Definition: decode.c:88
struct XLogRecordBuffer XLogRecordBuffer
void heap_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:464
void xlog_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:129
void xact_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:201
void standby_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:359
void logicalmsg_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:582
static char * buf
Definition: pg_test_fsync.c:72
XLogRecPtr origptr
Definition: decode.h:19
XLogReaderState * record
Definition: decode.h:21
XLogRecPtr endptr
Definition: decode.h:20
uint64 XLogRecPtr
Definition: xlogdefs.h:21