1 | /*------------------------------------------------------------------------- |
2 | * |
3 | * pgoutput.h |
4 | * Logical Replication output plugin |
5 | * |
6 | * Copyright (c) 2015-2019, 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 info */ |
24 | uint32 protocol_version; |
25 | |
26 | List *publication_names; |
27 | List *publications; |
28 | } PGOutputData; |
29 | |
30 | #endif /* PGOUTPUT_H */ |
31 | |