notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
postgresql-mysql_fdw PostgreSQL foreign data wrapper for MySQL
2.9.0 databases on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.9.0Version of this port present on the latest quarterly branch.
Maintainer: tz@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-06-23 09:02:31
Last Update: 2023-04-15 13:14:58
Commit Hash: a40c0e7
People watching this port, also watch:: postgresql13-tds_fdw, sysinfo, python, json-c
License: PostgreSQL
WWW:
https://github.com/EnterpriseDB/mysql_fdw
Description:
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 10, 11, 12, 13, 14 and 15.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (14 items)
Collapse this list.
  1. /usr/local/share/licenses/postgresql13-mysql_fdw-2.9.0/catalog.mk
  2. /usr/local/share/licenses/postgresql13-mysql_fdw-2.9.0/LICENSE
  3. /usr/local/share/licenses/postgresql13-mysql_fdw-2.9.0/PostgreSQL
  4. lib/postgresql/mysql_fdw.so
  5. share/postgresql/extension/mysql_fdw--1.0--1.1.sql
  6. share/postgresql/extension/mysql_fdw--1.0.sql
  7. share/postgresql/extension/mysql_fdw--1.1--1.2.sql
  8. share/postgresql/extension/mysql_fdw--1.1.sql
  9. share/postgresql/extension/mysql_fdw--1.2.sql
  10. share/postgresql/extension/mysql_fdw.control
  11. share/postgresql/extension/mysql_fdw_pushdown.config
  12. @owner
  13. @group
  14. @mode
Collapse this list.
Dependency lines:
  • postgresql13-mysql_fdw>0:databases/postgresql-mysql_fdw
To install the port:
cd /usr/ports/databases/postgresql-mysql_fdw/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/postgresql-mysql_fdw
  • pkg install postgresql13-mysql_fdw
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: postgresql13-mysql_fdw
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1672510684 SHA256 (EnterpriseDB-mysql_fdw-REL-2_9_0_GH0.tar.gz) = 5180d2347063739bb929ba2626bbed4af221fc15e5a979f6bb36e60dc8edfe99 SIZE (EnterpriseDB-mysql_fdw-REL-2_9_0_GH0.tar.gz) = 167809

Packages (timestamps in pop-ups are UTC):
postgresql13-mysql_fdw
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--2.9.0-----
FreeBSD:14:latest--2.9.0----2.9.0
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 
postgresql15-mysql_fdw
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.9.02.9.0-2.9.02.9.0---
FreeBSD:13:quarterly2.9.02.9.0-2.9.02.9.0-2.9.02.9.0
FreeBSD:14:latest2.9.02.9.0-2.9.02.9.0---
FreeBSD:14:quarterly2.9.02.9.0-2.9.02.9.0-2.9.02.9.0
FreeBSD:15:latest2.9.02.9.0n/a2.9.0n/a-2.9.02.9.0
FreeBSD:15:quarterly--n/a-n/a---
 
postgresql95-mysql_fdw
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.5.4---2.5.4-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
  2. postgres : databases/postgresql13-server
Runtime dependencies:
  1. postgres : databases/postgresql13-server
Library dependencies:
  1. libmysqlclient.so.21 : databases/mysql80-client
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
databases_postgresql-mysql_fdw
USES:
gmake mysql pgsql:11+
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/EnterpriseDB/mysql_fdw/tar.gz/REL-2_9_0?dummy=/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2023-09-08
    Affects: users of databases/postgresql* and other software using PostgreSQL to run
    Author: kbowling@FreeBSD.org
    Reason: 
      The default version of PostgreSQL has been switched from 13 to 15.
      The upgrade procedure can use up twice the space the databases
      currently needs. If you have a big amount of stored data take a
      closer look at the manpage of pg_upgrade for avoidance and/or
      speedup of the upgrade.
    
      The upgrade instructions consider a basic usage and do not match
      complex scenarios like replication, sharding, or similar.
    
      Upgrade instructions:
    
      First stop your PostgreSQL, create PostgreSQL-binaries and backup your data.
      If you have another Version of PostgreSQL installed, for example 13, your
      files are named according to this.
    
      # service postgresql stop
      # pkg create postgresql13-server postgresql13-contrib
      # mkdir /tmp/pg-upgrade
      # tar xf postgresql13-server-13.12.pkg -C /tmp/pg-upgrade
      # tar xf postgresql13-contrib-13.12.pkg -C /tmp/pg-upgrade
      # pkg delete -f databases/postgresql13-server databases/postgresql13-contrib databases/postgresql13-client
    
      Now update PostgreSQL:
    
        pkg user:
        # pkg install databases/postgresql15-server databases/postgresql15-contrib
        # pkg upgrade
    
        Portmaster users:
        # portmaster databases/postgresql15-server databases/postgresql15-contrib
        # portmaster -a
    
        Portupgrade users:
        # portinstall databases/postgresql15-server databases/postgresql15-contrib
        # portupgrade -a
    
      After installing the new PostgreSQL version you need to convert
      all your databases to new version:
    
      # su -l postgres -c "/usr/local/bin/initdb --encoding=utf-8 --lc-collate=C -D /var/db/postgres/data15 -U postgres"
      # su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data13/ -B /usr/local/bin/ -D /var/db/postgres/data15/ -U postgres "
    
      Now the migration is finished. You can start PostgreSQL again with:
    
      # service postgresql start
    
      ATTENTION:
      1) The default user changed from "pgsql" to "postgres" in 11. The migration steps above now assume
         the "postgres" database user and FreeBSD user.
      2) See the updating entry 20190829 if you are updating from a release prior to 11.
      3) If you use non-default initdb options, you have to adjust the initdb-command accordingly
    
    
Expand this list (1 items)
  • 2021-10-24
    Affects: users of databases/postgresql* and other software using PostgreSQL to run
    Author: kbowling@FreeBSD.org
    Reason: 
      The default version of PostgreSQL has been switched from 12 to 13.
      The upgrade procedure can use up twice the space the databases
      currently needs. If you have a big amount of stored data take a
      closer look at the manpage of pg_upgrade for avoidance and/or
      speedup of the upgrade.
    
      The upgrade instructions consider a basic usage and do not match
      complex scenarios like replication, sharding, or similar.
    
      Upgrade instructions:
    
      First stop your PostgreSQL, create PostgreSQL-binaries and backup your data.
      If you have another Version of PostgreSQL installed, for example 12.8, your
      files are named according to this.
    
      # service postgresql stop
      # pkg create postgresql12-server postgresql12-contrib
      # mkdir /tmp/pg-upgrade
      # tar xf postgresql12-server-12.8.pkg -C /tmp/pg-upgrade
      # tar xf postgresql12-contrib-12.8.pkg -C /tmp/pg-upgrade
      # pkg delete -f databases/postgresql12-server databases/postgresql12-contrib databases/postgresql12-client
    
      Now update PostgreSQL:
    
        pkg user:
        # pkg install databases/postgresql13-server databases/postgresql13-contrib
        # pkg upgrade
    
        Portmaster users:
        # portmaster databases/postgresql13-server databases/postgresql13-contrib
        # portmaster -a
    
        Portupgrade users:
        # portinstall databases/postgresql13-server databases/postgresql13-contrib
        # portupgrade -a
    
      After installing the new PostgreSQL version you need to convert
      all your databases to new version:
    
      # su -l postgres -c "/usr/local/bin/initdb --encoding=utf-8 --lc-collate=C -D /var/db/postgres/data13 -U postgres"
      # su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data12/ -B /usr/local/bin/ -D /var/db/postgres/data13/ -U postgres "
    
      Now the migration is finished. You can start PostgreSQL again with:
    
      # service postgresql start
    
      ATTENTION:
      1) The default user changed from "pgsql" to "postgres" in 11. The migration steps above now assume
         the "postgres" database user and FreeBSD user.
      2) See the updating entry 20190829 if you are updating from a release prior to 11.
      3) If you use non-default initdb options, you have to adjust the initdb-command accordingly
    
    
  • Collapse this list.

Number of commits found: 18

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.9.0
15 Apr 2023 13:14:58
commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Remove pointers to EOLed pgsql versions

- Remove dotted pgsql versions

Approved by:	portmgr
2.9.0
31 Dec 2022 21:58:52
commit hash: 8c8dd66afa444d53e030da30f5e3c290da76e672commit hash: 8c8dd66afa444d53e030da30f5e3c290da76e672commit hash: 8c8dd66afa444d53e030da30f5e3c290da76e672commit hash: 8c8dd66afa444d53e030da30f5e3c290da76e672 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
databases/postgresql-mysql_fdw: Update version 2.8.0=>2.9.0

- Move PLIST_FILES to pkg-plist

Approved by:	tz (private email)
Relnotes: https://github.com/EnterpriseDB/mysql_fdw/releases/tag/REL-2_9_0
Sponsored by:	Bounce Experts
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.8.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.8.0
20 Jul 2022 14:21:07
commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
databases: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Choe, Cheng-Dae" whitekid
  *  "Mahdi Mokhtari <mokhi64@gmail.com>"
  *  "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
  *  <hvo.pm@xs4all.nl>
  *  <jsmith@resonatingmedia.com>
  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Snelson <Alan@Wave2.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.8.0
27 Jun 2022 03:11:30
commit hash: 750296a936dcfa3d1e2eca8135d0c4222a0f4cfbcommit hash: 750296a936dcfa3d1e2eca8135d0c4222a0f4cfbcommit hash: 750296a936dcfa3d1e2eca8135d0c4222a0f4cfbcommit hash: 750296a936dcfa3d1e2eca8135d0c4222a0f4cfb files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
databases/postgresql-mysql_fdw: Update version 2.6.0=>2.8.0

Approved by:	tz (private email)
Relnotes:
https://github.com/EnterpriseDB/mysql_fdw/releases/tag/REL-2_8_0
Sponsored by:	Bounce Experts
2.6.0
01 Apr 2022 15:09:49
commit hash: 7b4d1f0b36f88f7fee1898a9cc10c2acf261a123commit hash: 7b4d1f0b36f88f7fee1898a9cc10c2acf261a123commit hash: 7b4d1f0b36f88f7fee1898a9cc10c2acf261a123commit hash: 7b4d1f0b36f88f7fee1898a9cc10c2acf261a123 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: fix trailing whitespace in pkg-descr's

Approved by:	portmgr blanket
2.6.0
17 May 2021 12:47:44
commit hash: 4394f1f2bcdc1327fad694916f90584447ba4a32commit hash: 4394f1f2bcdc1327fad694916f90584447ba4a32commit hash: 4394f1f2bcdc1327fad694916f90584447ba4a32commit hash: 4394f1f2bcdc1327fad694916f90584447ba4a32 files touched by this commit
Torsten Zuehlsdorff (tz) search for other commits by this committer
databases/postgresql-mysql_fdw: Update from 2.5.5 to 2.6.0

This release includes the following:

Feature:

    Join Push down - If we have a join between two foreign tables from the same
remote server, push that join down to the remote server instead of fetching all
the rows for both the tables and performing a join locally.

Other Fixes:

    Fixes crash with IMPORT FOREIGN SCHEMA when executed repeatedly.
    Restricts fetching of the system attributes from the remote relation.
    Fixes compiler warning due to clash with MySQL library macro.
    Costs are not shown in the explain output when the COSTS explain option is
OFF.
    Uses environment variables in tests for connection parameters.
    No longer supports PG/EPAS version 9.5.

Sponsored by:	Bounce Experts
2.5.5
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.5.5
16 Mar 2021 07:38:49
Revision:568541Original commit files touched by this commit
tz search for other commits by this committer
databases/postgresql-mysql_fdw: Upgrade from 2.5.4 to 2.5.5

Fix various bugs, compilation warnings, and server crashes.
Souce: https://github.com/EnterpriseDB/mysql_fdw/releases/tag/REL-2_5_5

Also make minimum PostgreSQL version 9.6. The last version 2.5.4 already
dropped the PostgreSQL 9.5 support. Also imcrease max supported PostgreSQL
version from 11 to 13. This was also introduced in the last version 2.5.4.

Take maintainership

Sponsored by:	Bounce Experts

M    postgresql-mysql_fdw/Makefile
M    postgresql-mysql_fdw/distinfo
2.5.4
29 Aug 2020 09:16:17
Revision:546890Original commit files touched by this commit
tcberner search for other commits by this committer
databases/postgresql-mysql_fdw: update to 2_5_4 to fix build with clang11
2.5.1
03 Aug 2019 11:31:48
Revision:507965Original commit files touched by this commit
tobik search for other commits by this committer
databases/postgresql-mysql_fdw: Update to 2.5.1

This fixes the build with PostgreSQL 10 and 11

Changes:	https://github.com/EnterpriseDB/mysql_fdw/releases

PR:		239514
2.2.0_2
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2.2.0_1
12 Dec 2018 01:35:36
Revision:487272Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2.2.0
24 Jun 2018 00:54:27
Revision:473169Original commit files touched by this commit
linimon search for other commits by this committer
Workaround the following problem on aarch64 by setting LLD_UNSAFE=yes:

  cc: error: invalid linker name in argument '-fuse-ld=bfd'

Neither emaste nor I can figure out exactly where the offending stanza is
coming in.  It will take someone with more knowledge of gmake debug flags,
and possibly the src build infrastructure, to figure it out.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2.2.0
22 Jun 2018 08:28:00
Revision:473023Original commit files touched by this commit
yuri search for other commits by this committer
Correction to r473019: Revert the unintended change to the 'Created by' headers.
2.2.0
22 Jun 2018 08:04:39
Revision:473019Original commit files touched by this commit
yuri search for other commits by this committer
Reset MAINTAINER on ports maintained by amutu@amutu.com

Based on the new policy of all maintained ports reset
when maintaner is absent for 3 months.

Bug#226400 for science/py-tensorflow is ignored since 2018-03-06 (3+ months).
portscout database indicates that 48.94% of his ports aren't updated.
2.2.0
23 Jun 2017 09:02:17
Revision:444170Original commit files touched by this commit
tz search for other commits by this committer
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>

Number of commits found: 18