2017-01-19 18:00:00 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* pgoutput.h
|
|
|
|
* Logical Replication output plugin
|
|
|
|
*
|
2021-01-02 19:06:25 +01:00
|
|
|
* Copyright (c) 2015-2021, PostgreSQL Global Development Group
|
2017-01-19 18:00:00 +01:00
|
|
|
*
|
|
|
|
* IDENTIFICATION
|
|
|
|
* pgoutput.h
|
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PGOUTPUT_H
|
|
|
|
#define PGOUTPUT_H
|
|
|
|
|
2017-01-21 21:49:53 +01:00
|
|
|
#include "nodes/pg_list.h"
|
2017-01-19 18:00:00 +01:00
|
|
|
|
|
|
|
typedef struct PGOutputData
|
|
|
|
{
|
|
|
|
MemoryContext context; /* private memory context for transient
|
|
|
|
* allocations */
|
|
|
|
|
2020-07-18 18:44:51 +02:00
|
|
|
/* client-supplied info: */
|
2017-01-19 18:00:00 +01:00
|
|
|
uint32 protocol_version;
|
|
|
|
List *publication_names;
|
|
|
|
List *publications;
|
2020-07-18 18:44:51 +02:00
|
|
|
bool binary;
|
2021-04-06 04:56:31 +02:00
|
|
|
bool streaming;
|
2021-04-06 05:10:47 +02:00
|
|
|
bool messages;
|
2017-01-19 18:00:00 +01:00
|
|
|
} PGOutputData;
|
|
|
|
|
|
|
|
#endif /* PGOUTPUT_H */
|