diff options
Diffstat (limited to 'src/include/replication/pgoutput.h')
-rw-r--r-- | src/include/replication/pgoutput.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/include/replication/pgoutput.h b/src/include/replication/pgoutput.h new file mode 100644 index 00000000000..c20451d1f29 --- /dev/null +++ b/src/include/replication/pgoutput.h @@ -0,0 +1,29 @@ +/*------------------------------------------------------------------------- + * + * pgoutput.h + * Logical Replication output plugin + * + * Copyright (c) 2015, PostgreSQL Global Development Group + * + * IDENTIFICATION + * pgoutput.h + * + *------------------------------------------------------------------------- + */ +#ifndef PGOUTPUT_H +#define PGOUTPUT_H + + +typedef struct PGOutputData +{ + MemoryContext context; /* private memory context for transient + * allocations */ + + /* client info */ + uint32 protocol_version; + + List *publication_names; + List *publications; +} PGOutputData; + +#endif /* PGOUTPUT_H */ |