pgoutput.h 824 B

12345678910111213141516171819202122232425262728293031323334
  1. /*-------------------------------------------------------------------------
  2. *
  3. * pgoutput.h
  4. * Logical Replication output plugin
  5. *
  6. * Copyright (c) 2015-2022, PostgreSQL Global Development Group
  7. *
  8. * IDENTIFICATION
  9. * src/include/replication/pgoutput.h
  10. *
  11. *-------------------------------------------------------------------------
  12. */
  13. #ifndef PGOUTPUT_H
  14. #define PGOUTPUT_H
  15. #include "nodes/pg_list.h"
  16. typedef struct PGOutputData
  17. {
  18. MemoryContext context; /* private memory context for transient
  19. * allocations */
  20. MemoryContext cachectx; /* private memory context for cache data */
  21. /* client-supplied info: */
  22. uint32 protocol_version;
  23. List *publication_names;
  24. List *publications;
  25. bool binary;
  26. bool streaming;
  27. bool messages;
  28. bool two_phase;
  29. } PGOutputData;
  30. #endif /* PGOUTPUT_H */