Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*-------------------------------------------------------------------------
 *
 * pgoutput.h
 *      Logical Replication output plugin
 *
 * Copyright (c) 2015-2026, PostgreSQL Global Development Group
 *
 * IDENTIFICATION
 *      src/include/replication/pgoutput.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef PGOUTPUT_H
#define PGOUTPUT_H
 
#include "nodes/pg_list.h"
 
typedef struct PGOutputData
{
    MemoryContext context;      /* private memory context for transient
                                 * allocations */
    MemoryContext cachectx;     /* private memory context for cache data */
    MemoryContext pubctx;       /* private memory context for publication data */
 
    bool        in_streaming;   /* true if we are streaming a chunk of
                                 * transaction */
 
    /* client-supplied info: */
    uint32      protocol_version;
    List       *publication_names;
    List       *publications;
    bool        binary;
    char        streaming;
    bool        messages;
    bool        two_phase;
    bool        publish_no_origin;
} PGOutputData;
 
#endif                          /* PGOUTPUT_H */