PostgreSQL Source Code  git master
pgoutput.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pgoutput.h
4  * Logical Replication output plugin
5  *
6  * Copyright (c) 2015-2024, PostgreSQL Global Development Group
7  *
8  * IDENTIFICATION
9  * src/include/replication/pgoutput.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef PGOUTPUT_H
14 #define PGOUTPUT_H
15 
16 #include "nodes/pg_list.h"
17 
18 typedef struct PGOutputData
19 {
20  MemoryContext context; /* private memory context for transient
21  * allocations */
22  MemoryContext cachectx; /* private memory context for cache data */
23 
24  bool in_streaming; /* true if we are streaming a chunk of
25  * transaction */
26 
27  /* client-supplied info: */
31  bool binary;
32  char streaming;
33  bool messages;
34  bool two_phase;
37 
38 #endif /* PGOUTPUT_H */
unsigned int uint32
Definition: c.h:493
struct PGOutputData PGOutputData
Definition: pg_list.h:54
bool in_streaming
Definition: pgoutput.h:24
List * publication_names
Definition: pgoutput.h:29
bool messages
Definition: pgoutput.h:33
char streaming
Definition: pgoutput.h:32
uint32 protocol_version
Definition: pgoutput.h:28
bool publish_no_origin
Definition: pgoutput.h:35
bool two_phase
Definition: pgoutput.h:34
MemoryContext context
Definition: pgoutput.h:20
bool binary
Definition: pgoutput.h:31
MemoryContext cachectx
Definition: pgoutput.h:22
List * publications
Definition: pgoutput.h:30