New port: databases/postgresql-mysql_fdw

This PostgreSQL extension implements a Foreign Data Wrapper (FDW) for MySQL.
The following enhancements are added to the mysql_fdw:
	Write-able FDW
	Connection Pooling
	Where clause push-down
	Column push-down
	Prepared Statment
Please note that this version of mysql_fdw works with PostgreSQL 9.3, 9.4, 9.5
and 9.6.

WWW: https://github.com/EnterpriseDB/mysql_fdw

PR:           219636
Submitted by: Jov <amutu@amutu.com>
This commit is contained in:
Torsten Zuehlsdorff 2017-06-23 09:02:17 +00:00
parent 609eedc42b
commit c97630de3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444170
4 changed files with 45 additions and 0 deletions

View file

@ -661,6 +661,7 @@
SUBDIR += postgresql-libpgeasy
SUBDIR += postgresql-libpqxx
SUBDIR += postgresql-libpqxx3
SUBDIR += postgresql-mysql_fdw
SUBDIR += postgresql-odbc
SUBDIR += postgresql-plproxy
SUBDIR += postgresql-plruby

View file

@ -0,0 +1,30 @@
# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= mysql_fdw
PORTVERSION= 2.2.0
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= amutu@amutu.com
COMMENT= PostgreSQL foreign data wrapper for MySQL
LICENSE= PostgreSQL
USES= gmake pgsql:9.3+ mysql
USE_GITHUB= yes
GH_ACCOUNT= EnterpriseDB
GH_TAGNAME= c14ee1d
MAKE_ENV= USE_PGXS=1
WANT_PGSQL= server
PLIST_FILES= lib/postgresql/mysql_fdw.so \
share/postgresql/extension/mysql_fdw--1.0.sql \
share/postgresql/extension/mysql_fdw.control
do-patch:
${SED} -i '.orig' 's/#if defined(__APPLE__)/& || defined(__FreeBSD__)/' ${WRKSRC}/mysql_fdw.c
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1496048192
SHA256 (EnterpriseDB-mysql_fdw-2.2.0-c14ee1d_GH0.tar.gz) = 531f065a5827ba4f19f222e502b9b224031574845adb5d001d6527a0a601b55f
SIZE (EnterpriseDB-mysql_fdw-2.2.0-c14ee1d_GH0.tar.gz) = 39601

View file

@ -0,0 +1,11 @@
This PostgreSQL extension implements a Foreign Data Wrapper (FDW) for MySQL.
The following enhancements are added to the mysql_fdw:
Write-able FDW
Connection Pooling
Where clause push-down
Column push-down
Prepared Statment
Please note that this version of mysql_fdw works with PostgreSQL 9.3, 9.4, 9.5
and 9.6.
WWW: https://github.com/EnterpriseDB/mysql_fdw