mirror of
https://github.com/postgres/postgres.git
synced 2026-03-25 03:45:15 -04:00
This reverts a sequence of commits, implementing features related to logical decoding and replication of sequences: -0da92dc530-80901b3291-b779d7d8fd-d5ed9da41d-a180c2b34d-75b1521dae-2d2232933b-002c9dd97a-05843b1aa4The implementation has issues, mostly due to combining transactional and non-transactional behavior of sequences. It's not clear how this could be fixed, but it'll require reworking significant part of the patch. Discussion: https://postgr.es/m/95345a19-d508-63d1-860a-f5c2f41e8d40@enterprisedb.com
34 lines
824 B
C
34 lines
824 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* pgoutput.h
|
|
* Logical Replication output plugin
|
|
*
|
|
* Copyright (c) 2015-2022, 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 */
|
|
|
|
/* client-supplied info: */
|
|
uint32 protocol_version;
|
|
List *publication_names;
|
|
List *publications;
|
|
bool binary;
|
|
bool streaming;
|
|
bool messages;
|
|
bool two_phase;
|
|
} PGOutputData;
|
|
|
|
#endif /* PGOUTPUT_H */
|