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
MemoryContext
pubctx
;
/* private memory context for publication data */
24
25
bool
in_streaming
;
/* true if we are streaming a chunk of
26
* transaction */
27
28
/* client-supplied info: */
29
uint32
protocol_version
;
30
List
*
publication_names
;
31
List
*
publications
;
32
bool
binary
;
33
char
streaming
;
34
bool
messages
;
35
bool
two_phase
;
36
bool
publish_no_origin
;
37
}
PGOutputData
;
38
39
#endif
/* PGOUTPUT_H */
uint32
uint32_t uint32
Definition:
c.h:485
pg_list.h
PGOutputData
struct PGOutputData PGOutputData
List
Definition:
pg_list.h:54
MemoryContextData
Definition:
memnodes.h:118
PGOutputData
Definition:
pgoutput.h:19
PGOutputData::in_streaming
bool in_streaming
Definition:
pgoutput.h:25
PGOutputData::publication_names
List * publication_names
Definition:
pgoutput.h:30
PGOutputData::messages
bool messages
Definition:
pgoutput.h:34
PGOutputData::streaming
char streaming
Definition:
pgoutput.h:33
PGOutputData::protocol_version
uint32 protocol_version
Definition:
pgoutput.h:29
PGOutputData::publish_no_origin
bool publish_no_origin
Definition:
pgoutput.h:36
PGOutputData::two_phase
bool two_phase
Definition:
pgoutput.h:35
PGOutputData::context
MemoryContext context
Definition:
pgoutput.h:20
PGOutputData::binary
bool binary
Definition:
pgoutput.h:32
PGOutputData::cachectx
MemoryContext cachectx
Definition:
pgoutput.h:22
PGOutputData::publications
List * publications
Definition:
pgoutput.h:31
PGOutputData::pubctx
MemoryContext pubctx
Definition:
pgoutput.h:23
src
include
replication
pgoutput.h
Generated on Thu Dec 12 2024 18:13:26 for PostgreSQL Source Code by
1.9.1