1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-27 00:12:01 +03:00
Files
postgres/src/include/replication/pgoutput.h
Bruce Momjian 29275b1d17 Update copyright for 2024
Reported-by: Michael Paquier

Discussion: https://postgr.es/m/ZZKTDPxBBMt3C0J9@paquier.xyz

Backpatch-through: 12
2024-01-03 20:49:05 -05:00

39 lines
937 B
C

/*-------------------------------------------------------------------------
*
* pgoutput.h
* Logical Replication output plugin
*
* Copyright (c) 2015-2024, 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 */
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 */