You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
855 B

Index: src/backend/distributed/Makefile
--- src/backend/distributed/Makefile.orig 2021-03-03 15:26:26.000000000 +0100
+++ src/backend/distributed/Makefile 2021-03-03 22:58:20.722159000 +0100
@@ -34,7 +34,7 @@
$(patsubst $(citus_abs_srcdir)/%.c,%.o,$(foreach dir,$(SUBDIRS), $(sort $(wildcard $(citus_abs_srcdir)/$(dir)/*.c))))
# be explicit about the default target
-all:
+all: citus.so
NO_PGXS = 1
Index: src/backend/distributed/commands/multi_copy.c
--- src/backend/distributed/commands/multi_copy.c.orig 2021-03-03 15:26:26.000000000 +0100
+++ src/backend/distributed/commands/multi_copy.c 2021-03-03 23:11:03.102680000 +0100
@@ -51,6 +51,8 @@
#include "libpq-fe.h"
#include "miscadmin.h"
+#include <sys/types.h>
+#include <sys/stat.h>
#include <arpa/inet.h> /* for htons */
#include <netinet/in.h> /* for htons */
#include <string.h>