summaryrefslogtreecommitdiffstats
path: root/src/include/replication/logicalworker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/replication/logicalworker.h')
-rw-r--r--src/include/replication/logicalworker.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/replication/logicalworker.h b/src/include/replication/logicalworker.h
new file mode 100644
index 0000000..2ad61a0
--- /dev/null
+++ b/src/include/replication/logicalworker.h
@@ -0,0 +1,19 @@
+/*-------------------------------------------------------------------------
+ *
+ * logicalworker.h
+ * Exports for logical replication workers.
+ *
+ * Portions Copyright (c) 2016-2021, PostgreSQL Global Development Group
+ *
+ * src/include/replication/logicalworker.h
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef LOGICALWORKER_H
+#define LOGICALWORKER_H
+
+extern void ApplyWorkerMain(Datum main_arg);
+
+extern bool IsLogicalWorker(void);
+
+#endif /* LOGICALWORKER_H */