Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2021 12:54:25 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567925 - in head/databases/pg_citus: . files
Message-ID:  <202103091254.129CsPRc070755@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Tue Mar  9 12:54:25 2021
New Revision: 567925
URL: https://svnweb.freebsd.org/changeset/ports/567925

Log:
  Upgrade to 10.0.2
  
  ChangeLog: https://github.com/citusdata/citus/blob/v10.0.2/CHANGELOG.md

Added:
  head/databases/pg_citus/files/patch-src_backend_distributed_commands_multi__copy.c   (contents, props changed)
Modified:
  head/databases/pg_citus/Makefile
  head/databases/pg_citus/distinfo
  head/databases/pg_citus/files/patch-src_backend_distributed_worker_worker__sql__task__protocol.c
  head/databases/pg_citus/pkg-plist

Modified: head/databases/pg_citus/Makefile
==============================================================================
--- head/databases/pg_citus/Makefile	Tue Mar  9 11:29:34 2021	(r567924)
+++ head/databases/pg_citus/Makefile	Tue Mar  9 12:54:25 2021	(r567925)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	citus
-PORTVERSION=	9.5.4
+PORTVERSION=	10.0.2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	databases
 PKGNAMEPREFIX=	pg_
@@ -13,6 +13,9 @@ COMMENT=	Horizontally scale Postgresql using sharding 
 LICENSE=	AGPLv3
 
 USES=		compiler:c11 gmake pgsql:11+ autoreconf readline
+
+LIB_DEPENDS=	liblz4.so:archivers/liblz4 \
+		libzstd.so:archivers/zstd
 
 WANT_PGSQL=	lib server
 GNU_CONFIGURE=	yes

Modified: head/databases/pg_citus/distinfo
==============================================================================
--- head/databases/pg_citus/distinfo	Tue Mar  9 11:29:34 2021	(r567924)
+++ head/databases/pg_citus/distinfo	Tue Mar  9 12:54:25 2021	(r567925)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1613826360
-SHA256 (citusdata-citus-v9.5.4_GH0.tar.gz) = ea99965c08d5bfc62ec4eec93517913bee2659633b9989594810511352a2f1be
-SIZE (citusdata-citus-v9.5.4_GH0.tar.gz) = 4718209
+TIMESTAMP = 1615233661
+SHA256 (citusdata-citus-v10.0.2_GH0.tar.gz) = a87381db7b26078955d733270a9adfdcdf1ec5ce5a698d475d86b5e65ae6a157
+SIZE (citusdata-citus-v10.0.2_GH0.tar.gz) = 5154816

Added: head/databases/pg_citus/files/patch-src_backend_distributed_commands_multi__copy.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pg_citus/files/patch-src_backend_distributed_commands_multi__copy.c	Tue Mar  9 12:54:25 2021	(r567925)
@@ -0,0 +1,10 @@
+--- src/backend/distributed/commands/multi_copy.c.orig	2021-03-09 08:26:53 UTC
++++ src/backend/distributed/commands/multi_copy.c
+@@ -53,6 +53,7 @@
+ 
+ #include <arpa/inet.h> /* for htons */
+ #include <netinet/in.h> /* for htons */
++#include <sys/stat.h>
+ #include <string.h>
+ 
+ #include "distributed/pg_version_constants.h"

Modified: head/databases/pg_citus/files/patch-src_backend_distributed_worker_worker__sql__task__protocol.c
==============================================================================
--- head/databases/pg_citus/files/patch-src_backend_distributed_worker_worker__sql__task__protocol.c	Tue Mar  9 11:29:34 2021	(r567924)
+++ head/databases/pg_citus/files/patch-src_backend_distributed_worker_worker__sql__task__protocol.c	Tue Mar  9 12:54:25 2021	(r567925)
@@ -1,4 +1,4 @@
---- src/backend/distributed/worker/worker_sql_task_protocol.c.orig	2018-12-15 09:35:56 UTC
+--- src/backend/distributed/worker/worker_sql_task_protocol.c.orig	2021-03-03 14:26:26 UTC
 +++ src/backend/distributed/worker/worker_sql_task_protocol.c
 @@ -12,6 +12,7 @@
  #include "postgres.h"
@@ -6,5 +6,5 @@
  #include "pgstat.h"
 +#include <sys/stat.h>
  
- #include "distributed/multi_copy.h"
+ #include "distributed/commands/multi_copy.h"
  #include "distributed/multi_executor.h"

Modified: head/databases/pg_citus/pkg-plist
==============================================================================
--- head/databases/pg_citus/pkg-plist	Tue Mar  9 11:29:34 2021	(r567924)
+++ head/databases/pg_citus/pkg-plist	Tue Mar  9 12:54:25 2021	(r567925)
@@ -36,6 +36,7 @@ include/postgresql/server/distributed/insert_select_pl
 include/postgresql/server/distributed/intermediate_result_pruning.h
 include/postgresql/server/distributed/intermediate_results.h
 include/postgresql/server/distributed/listutils.h
+include/postgresql/server/distributed/local_distributed_join_planner.h
 include/postgresql/server/distributed/local_executor.h
 include/postgresql/server/distributed/local_multi_copy.h
 include/postgresql/server/distributed/local_plan_cache.h
@@ -79,13 +80,16 @@ include/postgresql/server/distributed/recursive_planni
 include/postgresql/server/distributed/reference_table_utils.h
 include/postgresql/server/distributed/relation_access_tracking.h
 include/postgresql/server/distributed/relation_restriction_equivalence.h
+include/postgresql/server/distributed/relation_utils.h
 include/postgresql/server/distributed/relay_utility.h
 include/postgresql/server/distributed/remote_commands.h
 include/postgresql/server/distributed/remote_transaction.h
 include/postgresql/server/distributed/repartition_join_execution.h
 include/postgresql/server/distributed/resource_lock.h
 include/postgresql/server/distributed/run_from_same_connection.h
+include/postgresql/server/distributed/shard_cleaner.h
 include/postgresql/server/distributed/shard_pruning.h
+include/postgresql/server/distributed/shard_rebalancer.h
 include/postgresql/server/distributed/shard_utils.h
 include/postgresql/server/distributed/shardinterval_utils.h
 include/postgresql/server/distributed/shared_connection_stats.h
@@ -110,43 +114,9 @@ include/postgresql/server/distributed/worker_protocol.
 include/postgresql/server/distributed/worker_shard_visibility.h
 include/postgresql/server/distributed/worker_transaction.h
 lib/postgresql/citus.so
-share/postgresql/extension/citus--7.0-1--7.0-2.sql
-share/postgresql/extension/citus--7.0-1.sql
-share/postgresql/extension/citus--7.0-10--7.0-11.sql
-share/postgresql/extension/citus--7.0-11--7.0-12.sql
-share/postgresql/extension/citus--7.0-12--7.0-13.sql
-share/postgresql/extension/citus--7.0-13--7.0-14.sql
-share/postgresql/extension/citus--7.0-14--7.0-15.sql
-share/postgresql/extension/citus--7.0-15--7.1-1.sql
-share/postgresql/extension/citus--7.0-2--7.0-3.sql
-share/postgresql/extension/citus--7.0-3--7.0-4.sql
-share/postgresql/extension/citus--7.0-4--7.0-5.sql
-share/postgresql/extension/citus--7.0-5--7.0-6.sql
-share/postgresql/extension/citus--7.0-6--7.0-7.sql
-share/postgresql/extension/citus--7.0-7--7.0-8.sql
-share/postgresql/extension/citus--7.0-8--7.0-9.sql
-share/postgresql/extension/citus--7.0-9--7.0-10.sql
-share/postgresql/extension/citus--7.1-1--7.1-2.sql
-share/postgresql/extension/citus--7.1-2--7.1-3.sql
-share/postgresql/extension/citus--7.1-3--7.1-4.sql
-share/postgresql/extension/citus--7.1-4--7.2-1.sql
-share/postgresql/extension/citus--7.2-1--7.2-2.sql
-share/postgresql/extension/citus--7.2-2--7.2-3.sql
-share/postgresql/extension/citus--7.2-3--7.3-1.sql
-share/postgresql/extension/citus--7.3-1--7.3-2.sql
-share/postgresql/extension/citus--7.3-2--7.3-3.sql
-share/postgresql/extension/citus--7.3-3--7.4-1.sql
-share/postgresql/extension/citus--7.4-1--7.4-2.sql
-share/postgresql/extension/citus--7.4-2--7.4-3.sql
-share/postgresql/extension/citus--7.4-3--7.5-1.sql
-share/postgresql/extension/citus--7.5-1--7.5-2.sql
-share/postgresql/extension/citus--7.5-2--7.5-3.sql
-share/postgresql/extension/citus--7.5-3--7.5-4.sql
-share/postgresql/extension/citus--7.5-4--7.5-5.sql
-share/postgresql/extension/citus--7.5-5--7.5-6.sql
-share/postgresql/extension/citus--7.5-6--7.5-7.sql
-share/postgresql/extension/citus--7.5-7--8.0-1.sql
+share/postgresql/extension/citus--10.0-1--10.0-2.sql
 share/postgresql/extension/citus--8.0-1--8.0-2.sql
+share/postgresql/extension/citus--8.0-1.sql
 share/postgresql/extension/citus--8.0-10--8.0-11.sql
 share/postgresql/extension/citus--8.0-11--8.0-12.sql
 share/postgresql/extension/citus--8.0-12--8.0-13.sql
@@ -174,4 +144,5 @@ share/postgresql/extension/citus--9.2-4--9.3-2.sql
 share/postgresql/extension/citus--9.3-1--9.2-4.sql
 share/postgresql/extension/citus--9.3-2--9.4-1.sql
 share/postgresql/extension/citus--9.4-1--9.5-1.sql
+share/postgresql/extension/citus--9.5-1--10.0-1.sql
 share/postgresql/extension/citus.control



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103091254.129CsPRc070755>