Add more includes so header files are self-contained
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 21 Jan 2017 20:49:53 +0000 (15:49 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 21 Jan 2017 20:49:53 +0000 (15:49 -0500)
src/include/catalog/pg_subscription.h
src/include/commands/publicationcmds.h
src/include/commands/subscriptioncmds.h
src/include/replication/pgoutput.h
src/include/replication/worker_internal.h

index 0ad7b0e3215a006473a4f733a2997ff0ec1a834c..e0af730e959c31fc0aaba2b8e176767dee8456ac 100644 (file)
@@ -12,6 +12,7 @@
 #define PG_SUBSCRIPTION_H
 
 #include "catalog/genbki.h"
+#include "nodes/pg_list.h"
 
 /* ----------------
  *     pg_subscription definition. cpp turns this into
index 2307cea07096ac216ce48164e25d4e6e0a628168..cdacfa6f5b5786312b0e766c5e2edba495b1c8bf 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef PUBLICATIONCMDS_H
 #define PUBLICATIONCMDS_H
 
+#include "catalog/objectaddress.h"
 #include "nodes/parsenodes.h"
 
 extern ObjectAddress CreatePublication(CreatePublicationStmt *stmt);
index 1d8e2aa4129c008b09d5bc09f0ee7ab78d8802c6..87c1a27e143fd59c6b8ccc1cb4fd0ab3ddcc3609 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef SUBSCRIPTIONCMDS_H
 #define SUBSCRIPTIONCMDS_H
 
+#include "catalog/objectaddress.h"
 #include "nodes/parsenodes.h"
 
 extern ObjectAddress CreateSubscription(CreateSubscriptionStmt *stmt);
index c20451d1f29e7cd598998f9a1e2be7ee54b9d791..83e395823e42a6456610642472226ca344302652 100644 (file)
@@ -13,6 +13,7 @@
 #ifndef PGOUTPUT_H
 #define PGOUTPUT_H
 
+#include "nodes/pg_list.h"
 
 typedef struct PGOutputData
 {
index cecd2b8a1ce7ec9694a2256fb34f0e537482227d..29c43fc92a85e323cfdab776e1c87b87cc41cd98 100644 (file)
@@ -12,7 +12,9 @@
 #ifndef WORKER_INTERNAL_H
 #define WORKER_INTERNAL_H
 
+#include "access/xlogdefs.h"
 #include "catalog/pg_subscription.h"
+#include "datatype/timestamp.h"
 #include "storage/lock.h"
 
 typedef struct LogicalRepWorker