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-2021, PostgreSQL Global Development Group
7  *
8  * IDENTIFICATION
9  * 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 
23  /* client-supplied info: */
27  bool binary;
28  bool streaming;
29  bool messages;
30  bool two_phase;
31 } PGOutputData;
32 
33 #endif /* PGOUTPUT_H */
MemoryContext context
Definition: pgoutput.h:20
bool messages
Definition: pgoutput.h:29
List * publication_names
Definition: pgoutput.h:25
unsigned int uint32
Definition: c.h:441
struct PGOutputData PGOutputData
bool binary
Definition: pgoutput.h:27
List * publications
Definition: pgoutput.h:26
bool two_phase
Definition: pgoutput.h:30
bool streaming
Definition: pgoutput.h:28
Definition: pg_list.h:50
uint32 protocol_version
Definition: pgoutput.h:24