svn commit: r470229 - head/databases/postgresql-plproxy

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu May 17 18:29:41 UTC 2018


Author: sunpoet
Date: Thu May 17 18:29:40 2018
New Revision: 470229
URL: https://svnweb.freebsd.org/changeset/ports/470229

Log:
  Simplify Makefile
  
  - Update COMMENT
  - Update pkg-descr
  - Take maintainership

Modified:
  head/databases/postgresql-plproxy/Makefile
  head/databases/postgresql-plproxy/pkg-descr

Modified: head/databases/postgresql-plproxy/Makefile
==============================================================================
--- head/databases/postgresql-plproxy/Makefile	Thu May 17 16:25:09 2018	(r470228)
+++ head/databases/postgresql-plproxy/Makefile	Thu May 17 18:29:40 2018	(r470229)
@@ -7,23 +7,19 @@ DISTVERSION=	2_8
 CATEGORIES=	databases
 PKGNAMEPREFIX=	postgresql-
 
-MAINTAINER=	ports at FreeBSD.org
-COMMENT=	PL/Proxy - database partitioning system
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	PL/Proxy - Function-based sharding for PostgreSQL
 
 LICENSE=	ISCL
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
 USES=		bison gmake pgsql
-
 USE_GITHUB=	yes
 
-.include <bsd.port.pre.mk>
-
 post-patch:
-	@${REINPLACE_CMD} -e \
-		'/^#ifdef/s| SYS_| HAVE_SYS_|' ${WRKSRC}/src/execute.c
+	@${REINPLACE_CMD} -e '/^#ifdef/ s| SYS_| HAVE_SYS_|' ${WRKSRC}/src/execute.c
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/plproxy.so
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/databases/postgresql-plproxy/pkg-descr
==============================================================================
--- head/databases/postgresql-plproxy/pkg-descr	Thu May 17 16:25:09 2018	(r470228)
+++ head/databases/postgresql-plproxy/pkg-descr	Thu May 17 18:29:40 2018	(r470229)
@@ -1,8 +1,11 @@
-PL/Proxy is a proxy language used for remote database procedure calls
-and data partitioning between databases based on hashing field values.
+PL/Proxy is a PostgreSQL procedural language (PL) handler that allows to do
+remote procedure calls between PostgreSQL databases, with optional sharding.
 
-Main idea is that proxy function will be created with same signature as
-remote function to be called, so only destination info needs to be
-specified inside proxy function body.
+PL/Proxy was developed in Skype as a scalability solution for PostgreSQL
+database. At first it was very thin PL component that connected to C++ server
+that handled all sharding decisions. This proved to be too complex setup and in
+version 2 it was re-written to current archtecture of PL that handles sharding
+and generic pooler process (PgBouncer) that is able to handle large amount of
+standard PostgreSQL connections that the PL makes.
 
 WWW: https://plproxy.github.io/


More information about the svn-ports-all mailing list