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-2022, 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:378
void LogicalDecodingProcessRecord(LogicalDecodingContext *ctx, XLogReaderState *record)
Definition: decode.c:91
struct XLogRecordBuffer XLogRecordBuffer
void heap_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:438
void xlog_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:132
void xact_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:175
void standby_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:332
void logicalmsg_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Definition: decode.c:560
static char * buf
Definition: pg_test_fsync.c:67
XLogRecPtr origptr
Definition: decode.h:19
XLogReaderState * record
Definition: decode.h:21
XLogRecPtr endptr
Definition: decode.h:20
uint64 XLogRecPtr
Definition: xlogdefs.h:21