codekingpro/portable-devtools
115k
1/*-------------------------------------------------------------------------2 *3 * pgoutput.h4 * Logical Replication output plugin5 *6 * Copyright (c) 2015-2023, PostgreSQL Global Development Group7 *8 * IDENTIFICATION9 * src/include/replication/pgoutput.h10 *11 *-------------------------------------------------------------------------12 */13#ifndef PGOUTPUT_H14#define PGOUTPUT_H15 16#include "nodes/pg_list.h"17 18typedef struct PGOutputData19{20 MemoryContext context; /* private memory context for transient21 * allocations */22 MemoryContext cachectx; /* private memory context for cache data */23 24 /* client-supplied info: */25 uint32 protocol_version;26 List *publication_names;27 List *publications;28 bool binary;29 char streaming;30 bool messages;31 bool two_phase;32 char *origin;33} PGOutputData;34 35#endif /* PGOUTPUT_H */36 