|
|
|
|
Index: Makefile.global.in
|
|
|
|
|
--- Makefile.global.in.orig 2016-05-17 18:04:36.000000000 +0200
|
|
|
|
|
+++ Makefile.global.in 2016-05-18 11:59:53.561552978 +0200
|
|
|
|
|
@@ -57,7 +57,7 @@
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# Add options passed to configure or computed therein, to CFLAGS/CPPFLAGS/...
|
|
|
|
|
-override CFLAGS += @CFLAGS@ @CITUS_CFLAGS@
|
|
|
|
|
+override CFLAGS += @CFLAGS@ @CITUS_CFLAGS@ -Wno-unused-but-set-variable -Wno-unused-variable
|
|
|
|
|
override CPPFLAGS := @CPPFLAGS@ -I '${citus_abs_top_srcdir}/src/include' $(CPPFLAGS)
|
|
|
|
|
override LDFLAGS += @LDFLAGS@
|
|
|
|
|
|
|
|
|
|
Index: src/backend/distributed/Makefile
|
|
|
|
|
--- src/backend/distributed/Makefile.orig 2016-05-17 18:04:36.000000000 +0200
|
|
|
|
|
+++ src/backend/distributed/Makefile 2016-05-18 11:59:53.561552978 +0200
|
|
|
|
|
@@ -23,7 +23,7 @@
|
|
|
|
|
$(patsubst $(citus_abs_srcdir)/%.c,%.o,$(foreach dir,$(SUBDIRS), $(wildcard $(citus_abs_srcdir)/$(dir)/*.c)))
|
|
|
|
|
|
|
|
|
|
# be explicit about the default target
|
|
|
|
|
-all:
|
|
|
|
|
+all: citus.so
|
|
|
|
|
|
|
|
|
|
# generate each version's file installation file by concatenating
|
|
|
|
|
# previous upgrade scripts
|
|
|
|
|
Index: src/backend/distributed/executor/multi_real_time_executor.c
|
|
|
|
|
--- src/backend/distributed/executor/multi_real_time_executor.c.orig 2016-05-17 18:04:36.000000000 +0200
|
|
|
|
|
+++ src/backend/distributed/executor/multi_real_time_executor.c 2016-05-18 11:59:53.561552978 +0200
|
|
|
|
|
@@ -21,6 +21,8 @@
|
|
|
|
|
|
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
+#include <sys/types.h>
|
|
|
|
|
+#include <sys/stat.h>
|
|
|
|
|
|
|
|
|
|
#include "commands/dbcommands.h"
|
|
|
|
|
#include "distributed/multi_client_executor.h"
|
|
|
|
|
Index: src/backend/distributed/executor/multi_task_tracker_executor.c
|
|
|
|
|
--- src/backend/distributed/executor/multi_task_tracker_executor.c.orig 2016-05-17 18:04:36.000000000 +0200
|
|
|
|
|
+++ src/backend/distributed/executor/multi_task_tracker_executor.c 2016-05-18 11:59:53.571498237 +0200
|
|
|
|
|
@@ -22,6 +22,8 @@
|
|
|
|
|
|
|
|
|
|
#include <sys/stat.h>
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
+#include <sys/types.h>
|
|
|
|
|
+#include <sys/stat.h>
|
|
|
|
|
|
|
|
|
|
#include "commands/dbcommands.h"
|
|
|
|
|
#include "distributed/citus_nodes.h"
|
|
|
|
|
Index: src/backend/distributed/worker/worker_partition_protocol.c
|
|
|
|
|
--- src/backend/distributed/worker/worker_partition_protocol.c.orig 2016-05-18 11:59:53.571498000 +0200
|
|
|
|
|
+++ src/backend/distributed/worker/worker_partition_protocol.c 2016-05-18 12:07:26.511543689 +0200
|
|
|
|
|
@@ -17,6 +17,7 @@
|
|
|
|
|
#include "postgres.h"
|
|
|
|
|
#include "funcapi.h"
|
|
|
|
|
|
|
|
|
|
+#include <sys/types.h>
|
|
|
|
|
#include <arpa/inet.h>
|
|
|
|
|
#ifdef HAVE_INTTYPES_H
|
|
|
|
|
#include <inttypes.h>
|