Skip to content

mysql_fdw

Foreign data wrapper for querying a MySQL server

mysql_fdw : Foreign data wrapper for querying a MySQL server

Overview

ID Extension Package Version Category License Language
8600 mysql_fdw mysql_fdw 2.9.3 FDW PostgreSQL C
Attribute Has Binary Has Library Need Load Has DDL Relocatable Trusted
--s-d-r No Yes No Yes yes no

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT PGDG 2.9.3 19 18 17 16 15 mysql_fdw -
RPM PGDG 2.9.3 19 18 17 16 15 mysql_fdw_$v -
DEB PGDG 2.9.3 19 18 17 16 15 postgresql-$v-mysql-fdw -
Linux / PG PG19 PG18 PG17 PG16 PG15
el8.x86_64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
el8.aarch64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
el9.x86_64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
el9.aarch64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
el10.x86_64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
el10.aarch64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
d12.x86_64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
d12.aarch64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
d13.x86_64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
d13.aarch64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
u22.x86_64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
u22.aarch64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
u24.x86_64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
u24.aarch64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
u26.x86_64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
u26.aarch64 N/A PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3 PGDG 2.9.3
Package Version OS ORG SIZE File URL
mysql_fdw_18 2.9.3 el8.x86_64 pgdg 134.9 KiB mysql_fdw_18-2.9.3-9PGDG.rhel8.10.x86_64.rpm
mysql_fdw_18 2.9.3 el8.x86_64 pgdg 135.6 KiB mysql_fdw_18-2.9.3-3PGDG.rhel8.x86_64.rpm
mysql_fdw_18 2.9.3 el8.aarch64 pgdg 132.8 KiB mysql_fdw_18-2.9.3-9PGDG.rhel8.10.aarch64.rpm
mysql_fdw_18 2.9.3 el8.aarch64 pgdg 133.4 KiB mysql_fdw_18-2.9.3-3PGDG.rhel8.aarch64.rpm
mysql_fdw_18 2.9.3 el9.x86_64 pgdg 134.3 KiB mysql_fdw_18-2.9.3-9PGDG.rhel9.9.x86_64.rpm
mysql_fdw_18 2.9.3 el9.aarch64 pgdg 133.0 KiB mysql_fdw_18-2.9.3-9PGDG.rhel9.9.aarch64.rpm
mysql_fdw_18 2.9.3 el10.x86_64 pgdg 135.7 KiB mysql_fdw_18-2.9.3-9PGDG.rhel10.3.x86_64.rpm
mysql_fdw_18 2.9.3 el10.aarch64 pgdg 134.3 KiB mysql_fdw_18-2.9.3-9PGDG.rhel10.3.aarch64.rpm
mysql_fdw_18 2.9.3 el10.aarch64 pgdg 134.3 KiB mysql_fdw_18-2.9.3-9PGDG.rhel10.2.aarch64.rpm
mysql_fdw_18 2.9.3 el10.aarch64 pgdg 133.9 KiB mysql_fdw_18-2.9.3-5PGDG.rhel10.2.aarch64.rpm
mysql_fdw_18 2.9.3 el10.aarch64 pgdg 135.3 KiB mysql_fdw_18-2.9.3-3PGDG.rhel10.aarch64.rpm
postgresql-18-mysql-fdw 2.9.3 d12.x86_64 pgdg 124.4 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg12+2_amd64.deb
postgresql-18-mysql-fdw 2.9.3 d12.x86_64 pgdg 124.1 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg12+1_amd64.deb
postgresql-18-mysql-fdw 2.9.3 d12.aarch64 pgdg 120.8 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg12+2_arm64.deb
postgresql-18-mysql-fdw 2.9.3 d12.aarch64 pgdg 120.7 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg12+1_arm64.deb
postgresql-18-mysql-fdw 2.9.3 d13.x86_64 pgdg 124.5 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg13+2_amd64.deb
postgresql-18-mysql-fdw 2.9.3 d13.x86_64 pgdg 124.5 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg13+1_amd64.deb
postgresql-18-mysql-fdw 2.9.3 d13.aarch64 pgdg 121.7 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg13+2_arm64.deb
postgresql-18-mysql-fdw 2.9.3 d13.aarch64 pgdg 121.5 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg13+1_arm64.deb
postgresql-18-mysql-fdw 2.9.3 u22.x86_64 pgdg 129.6 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg22.04+2_amd64.deb
postgresql-18-mysql-fdw 2.9.3 u22.x86_64 pgdg 129.6 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg22.04+1_amd64.deb
postgresql-18-mysql-fdw 2.9.3 u22.aarch64 pgdg 126.5 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg22.04+2_arm64.deb
postgresql-18-mysql-fdw 2.9.3 u22.aarch64 pgdg 126.4 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg22.04+1_arm64.deb
postgresql-18-mysql-fdw 2.9.3 u24.x86_64 pgdg 124.0 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg24.04+2_amd64.deb
postgresql-18-mysql-fdw 2.9.3 u24.x86_64 pgdg 123.9 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg24.04+1_amd64.deb
postgresql-18-mysql-fdw 2.9.3 u24.aarch64 pgdg 120.7 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg24.04+2_arm64.deb
postgresql-18-mysql-fdw 2.9.3 u24.aarch64 pgdg 120.6 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg24.04+1_arm64.deb
postgresql-18-mysql-fdw 2.9.3 u26.x86_64 pgdg 122.0 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg26.04+2_amd64.deb
postgresql-18-mysql-fdw 2.9.3 u26.x86_64 pgdg 122.7 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg26.04+1_amd64.deb
postgresql-18-mysql-fdw 2.9.3 u26.aarch64 pgdg 118.9 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg26.04+2_arm64.deb
postgresql-18-mysql-fdw 2.9.3 u26.aarch64 pgdg 119.6 KiB postgresql-18-mysql-fdw_2.9.3-2.pgdg26.04+1_arm64.deb
Package Version OS ORG SIZE File URL
mysql_fdw_17 2.9.3 el8.x86_64 pgdg 134.6 KiB mysql_fdw_17-2.9.3-9PGDG.rhel8.10.x86_64.rpm
mysql_fdw_17 2.9.3 el8.x86_64 pgdg 135.4 KiB mysql_fdw_17-2.9.3-3PGDG.rhel8.x86_64.rpm
mysql_fdw_17 2.9.2 el8.x86_64 pgdg 139.1 KiB mysql_fdw_17-2.9.2-2PGDG.rhel8.x86_64.rpm
mysql_fdw_17 2.9.3 el8.aarch64 pgdg 132.3 KiB mysql_fdw_17-2.9.3-9PGDG.rhel8.10.aarch64.rpm
mysql_fdw_17 2.9.3 el8.aarch64 pgdg 133.0 KiB mysql_fdw_17-2.9.3-3PGDG.rhel8.aarch64.rpm
mysql_fdw_17 2.9.2 el8.aarch64 pgdg 137.1 KiB mysql_fdw_17-2.9.2-2PGDG.rhel8.aarch64.rpm
mysql_fdw_17 2.9.3 el9.x86_64 pgdg 134.3 KiB mysql_fdw_17-2.9.3-9PGDG.rhel9.9.x86_64.rpm
mysql_fdw_17 2.9.3 el9.aarch64 pgdg 132.6 KiB mysql_fdw_17-2.9.3-9PGDG.rhel9.9.aarch64.rpm
mysql_fdw_17 2.9.3 el10.x86_64 pgdg 135.5 KiB mysql_fdw_17-2.9.3-9PGDG.rhel10.3.x86_64.rpm
mysql_fdw_17 2.9.3 el10.aarch64 pgdg 133.8 KiB mysql_fdw_17-2.9.3-9PGDG.rhel10.3.aarch64.rpm
mysql_fdw_17 2.9.3 el10.aarch64 pgdg 133.8 KiB mysql_fdw_17-2.9.3-9PGDG.rhel10.2.aarch64.rpm
mysql_fdw_17 2.9.3 el10.aarch64 pgdg 133.4 KiB mysql_fdw_17-2.9.3-5PGDG.rhel10.2.aarch64.rpm
mysql_fdw_17 2.9.3 el10.aarch64 pgdg 134.8 KiB mysql_fdw_17-2.9.3-3PGDG.rhel10.aarch64.rpm
mysql_fdw_17 2.9.2 el10.aarch64 pgdg 134.8 KiB mysql_fdw_17-2.9.2-3PGDG.rhel10.aarch64.rpm
postgresql-17-mysql-fdw 2.9.3 d12.x86_64 pgdg 124.0 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg12+2_amd64.deb
postgresql-17-mysql-fdw 2.9.3 d12.x86_64 pgdg 123.8 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg12+1_amd64.deb
postgresql-17-mysql-fdw 2.9.3 d12.aarch64 pgdg 120.6 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg12+2_arm64.deb
postgresql-17-mysql-fdw 2.9.3 d12.aarch64 pgdg 120.5 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg12+1_arm64.deb
postgresql-17-mysql-fdw 2.9.3 d13.x86_64 pgdg 124.4 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg13+2_amd64.deb
postgresql-17-mysql-fdw 2.9.3 d13.x86_64 pgdg 124.1 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg13+1_amd64.deb
postgresql-17-mysql-fdw 2.9.3 d13.aarch64 pgdg 121.6 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg13+2_arm64.deb
postgresql-17-mysql-fdw 2.9.3 d13.aarch64 pgdg 121.4 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg13+1_arm64.deb
postgresql-17-mysql-fdw 2.9.3 u22.x86_64 pgdg 146.2 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg22.04+2_amd64.deb
postgresql-17-mysql-fdw 2.9.3 u22.x86_64 pgdg 146.2 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg22.04+1_amd64.deb
postgresql-17-mysql-fdw 2.9.3 u22.aarch64 pgdg 143.1 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg22.04+2_arm64.deb
postgresql-17-mysql-fdw 2.9.3 u22.aarch64 pgdg 142.9 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg22.04+1_arm64.deb
postgresql-17-mysql-fdw 2.9.3 u24.x86_64 pgdg 123.6 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg24.04+2_amd64.deb
postgresql-17-mysql-fdw 2.9.3 u24.x86_64 pgdg 123.3 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg24.04+1_amd64.deb
postgresql-17-mysql-fdw 2.9.3 u24.aarch64 pgdg 120.4 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg24.04+2_arm64.deb
postgresql-17-mysql-fdw 2.9.3 u24.aarch64 pgdg 120.2 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg24.04+1_arm64.deb
postgresql-17-mysql-fdw 2.9.3 u26.x86_64 pgdg 121.7 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg26.04+2_amd64.deb
postgresql-17-mysql-fdw 2.9.3 u26.x86_64 pgdg 122.4 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg26.04+1_amd64.deb
postgresql-17-mysql-fdw 2.9.3 u26.aarch64 pgdg 118.5 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg26.04+2_arm64.deb
postgresql-17-mysql-fdw 2.9.3 u26.aarch64 pgdg 119.2 KiB postgresql-17-mysql-fdw_2.9.3-2.pgdg26.04+1_arm64.deb
Package Version OS ORG SIZE File URL
mysql_fdw_16 2.9.3 el8.x86_64 pgdg 134.6 KiB mysql_fdw_16-2.9.3-9PGDG.rhel8.10.x86_64.rpm
mysql_fdw_16 2.9.3 el8.x86_64 pgdg 135.4 KiB mysql_fdw_16-2.9.3-3PGDG.rhel8.x86_64.rpm
mysql_fdw_16 2.9.2 el8.x86_64 pgdg 139.0 KiB mysql_fdw_16-2.9.2-1PGDG.rhel8.x86_64.rpm
mysql_fdw_16 2.9.1 el8.x86_64 pgdg 155.4 KiB mysql_fdw_16-2.9.1-1PGDG.rhel8.x86_64.rpm
mysql_fdw_16 2.9.3 el8.aarch64 pgdg 132.3 KiB mysql_fdw_16-2.9.3-9PGDG.rhel8.10.aarch64.rpm
mysql_fdw_16 2.9.3 el8.aarch64 pgdg 133.0 KiB mysql_fdw_16-2.9.3-3PGDG.rhel8.aarch64.rpm
mysql_fdw_16 2.9.2 el8.aarch64 pgdg 137.1 KiB mysql_fdw_16-2.9.2-1PGDG.rhel8.aarch64.rpm
mysql_fdw_16 2.9.1 el8.aarch64 pgdg 152.9 KiB mysql_fdw_16-2.9.1-1PGDG.rhel8.aarch64.rpm
mysql_fdw_16 2.9.3 el9.x86_64 pgdg 134.2 KiB mysql_fdw_16-2.9.3-9PGDG.rhel9.9.x86_64.rpm
mysql_fdw_16 2.9.3 el9.aarch64 pgdg 132.6 KiB mysql_fdw_16-2.9.3-9PGDG.rhel9.9.aarch64.rpm
mysql_fdw_16 2.9.3 el10.x86_64 pgdg 135.5 KiB mysql_fdw_16-2.9.3-9PGDG.rhel10.3.x86_64.rpm
mysql_fdw_16 2.9.3 el10.aarch64 pgdg 133.9 KiB mysql_fdw_16-2.9.3-9PGDG.rhel10.3.aarch64.rpm
mysql_fdw_16 2.9.3 el10.aarch64 pgdg 133.8 KiB mysql_fdw_16-2.9.3-9PGDG.rhel10.2.aarch64.rpm
mysql_fdw_16 2.9.3 el10.aarch64 pgdg 133.4 KiB mysql_fdw_16-2.9.3-5PGDG.rhel10.2.aarch64.rpm
mysql_fdw_16 2.9.3 el10.aarch64 pgdg 134.8 KiB mysql_fdw_16-2.9.3-3PGDG.rhel10.aarch64.rpm
mysql_fdw_16 2.9.2 el10.aarch64 pgdg 134.7 KiB mysql_fdw_16-2.9.2-3PGDG.rhel10.aarch64.rpm
postgresql-16-mysql-fdw 2.9.3 d12.x86_64 pgdg 123.8 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg12+2_amd64.deb
postgresql-16-mysql-fdw 2.9.3 d12.x86_64 pgdg 123.7 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg12+1_amd64.deb
postgresql-16-mysql-fdw 2.9.3 d12.aarch64 pgdg 120.6 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg12+2_arm64.deb
postgresql-16-mysql-fdw 2.9.3 d12.aarch64 pgdg 120.3 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg12+1_arm64.deb
postgresql-16-mysql-fdw 2.9.3 d13.x86_64 pgdg 124.3 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg13+2_amd64.deb
postgresql-16-mysql-fdw 2.9.3 d13.x86_64 pgdg 124.2 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg13+1_amd64.deb
postgresql-16-mysql-fdw 2.9.3 d13.aarch64 pgdg 121.6 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg13+2_arm64.deb
postgresql-16-mysql-fdw 2.9.3 d13.aarch64 pgdg 121.2 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg13+1_arm64.deb
postgresql-16-mysql-fdw 2.9.3 u22.x86_64 pgdg 145.7 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg22.04+2_amd64.deb
postgresql-16-mysql-fdw 2.9.3 u22.x86_64 pgdg 145.5 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg22.04+1_amd64.deb
postgresql-16-mysql-fdw 2.9.3 u22.aarch64 pgdg 142.6 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg22.04+2_arm64.deb
postgresql-16-mysql-fdw 2.9.3 u22.aarch64 pgdg 142.3 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg22.04+1_arm64.deb
postgresql-16-mysql-fdw 2.9.3 u24.x86_64 pgdg 123.6 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg24.04+2_amd64.deb
postgresql-16-mysql-fdw 2.9.3 u24.x86_64 pgdg 123.3 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg24.04+1_amd64.deb
postgresql-16-mysql-fdw 2.9.3 u24.aarch64 pgdg 120.5 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg24.04+2_arm64.deb
postgresql-16-mysql-fdw 2.9.3 u24.aarch64 pgdg 120.2 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg24.04+1_arm64.deb
postgresql-16-mysql-fdw 2.9.3 u26.x86_64 pgdg 121.6 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg26.04+2_amd64.deb
postgresql-16-mysql-fdw 2.9.3 u26.x86_64 pgdg 122.3 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg26.04+1_amd64.deb
postgresql-16-mysql-fdw 2.9.3 u26.aarch64 pgdg 118.5 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg26.04+2_arm64.deb
postgresql-16-mysql-fdw 2.9.3 u26.aarch64 pgdg 119.1 KiB postgresql-16-mysql-fdw_2.9.3-2.pgdg26.04+1_arm64.deb
Package Version OS ORG SIZE File URL
mysql_fdw_15 2.9.3 el8.x86_64 pgdg 135.0 KiB mysql_fdw_15-2.9.3-9PGDG.rhel8.10.x86_64.rpm
mysql_fdw_15 2.9.3 el8.x86_64 pgdg 135.7 KiB mysql_fdw_15-2.9.3-3PGDG.rhel8.x86_64.rpm
mysql_fdw_15 2.9.2 el8.x86_64 pgdg 139.2 KiB mysql_fdw_15-2.9.2-1PGDG.rhel8.x86_64.rpm
mysql_fdw_15 2.9.1 el8.x86_64 pgdg 155.6 KiB mysql_fdw_15-2.9.1-1PGDG.rhel8.x86_64.rpm
mysql_fdw_15 2.9.0 el8.x86_64 pgdg 155.3 KiB mysql_fdw_15-2.9.0-1.rhel8.x86_64.rpm
mysql_fdw_15 2.8.0 el8.x86_64 pgdg 138.8 KiB mysql_fdw_15-2.8.0-2.rhel8.x86_64.rpm
mysql_fdw_15 2.9.3 el8.aarch64 pgdg 132.4 KiB mysql_fdw_15-2.9.3-9PGDG.rhel8.10.aarch64.rpm
mysql_fdw_15 2.9.3 el8.aarch64 pgdg 133.0 KiB mysql_fdw_15-2.9.3-3PGDG.rhel8.aarch64.rpm
mysql_fdw_15 2.9.2 el8.aarch64 pgdg 137.0 KiB mysql_fdw_15-2.9.2-1PGDG.rhel8.aarch64.rpm
mysql_fdw_15 2.9.1 el8.aarch64 pgdg 134.9 KiB mysql_fdw_15-2.9.1-1PGDG.rhel8.aarch64.rpm
mysql_fdw_15 2.9.0 el8.aarch64 pgdg 152.7 KiB mysql_fdw_15-2.9.0-1.rhel8.aarch64.rpm
mysql_fdw_15 2.9.3 el9.x86_64 pgdg 135.0 KiB mysql_fdw_15-2.9.3-9PGDG.rhel9.9.x86_64.rpm
mysql_fdw_15 2.9.3 el9.aarch64 pgdg 133.2 KiB mysql_fdw_15-2.9.3-9PGDG.rhel9.9.aarch64.rpm
mysql_fdw_15 2.9.3 el10.x86_64 pgdg 136.3 KiB mysql_fdw_15-2.9.3-9PGDG.rhel10.3.x86_64.rpm
mysql_fdw_15 2.9.3 el10.aarch64 pgdg 134.7 KiB mysql_fdw_15-2.9.3-9PGDG.rhel10.3.aarch64.rpm
mysql_fdw_15 2.9.3 el10.aarch64 pgdg 134.9 KiB mysql_fdw_15-2.9.3-9PGDG.rhel10.2.aarch64.rpm
mysql_fdw_15 2.9.3 el10.aarch64 pgdg 134.5 KiB mysql_fdw_15-2.9.3-5PGDG.rhel10.2.aarch64.rpm
mysql_fdw_15 2.9.3 el10.aarch64 pgdg 135.6 KiB mysql_fdw_15-2.9.3-3PGDG.rhel10.aarch64.rpm
mysql_fdw_15 2.9.2 el10.aarch64 pgdg 135.5 KiB mysql_fdw_15-2.9.2-3PGDG.rhel10.aarch64.rpm
postgresql-15-mysql-fdw 2.9.3 d12.x86_64 pgdg 124.5 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg12+2_amd64.deb
postgresql-15-mysql-fdw 2.9.3 d12.x86_64 pgdg 124.2 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg12+1_amd64.deb
postgresql-15-mysql-fdw 2.9.3 d12.aarch64 pgdg 121.3 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg12+2_arm64.deb
postgresql-15-mysql-fdw 2.9.3 d12.aarch64 pgdg 120.9 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg12+1_arm64.deb
postgresql-15-mysql-fdw 2.9.3 d13.x86_64 pgdg 125.0 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg13+2_amd64.deb
postgresql-15-mysql-fdw 2.9.3 d13.x86_64 pgdg 124.6 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg13+1_amd64.deb
postgresql-15-mysql-fdw 2.9.3 d13.aarch64 pgdg 121.9 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg13+2_arm64.deb
postgresql-15-mysql-fdw 2.9.3 d13.aarch64 pgdg 121.6 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg13+1_arm64.deb
postgresql-15-mysql-fdw 2.9.3 u22.x86_64 pgdg 146.1 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg22.04+2_amd64.deb
postgresql-15-mysql-fdw 2.9.3 u22.x86_64 pgdg 146.0 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg22.04+1_amd64.deb
postgresql-15-mysql-fdw 2.9.3 u22.aarch64 pgdg 142.8 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg22.04+2_arm64.deb
postgresql-15-mysql-fdw 2.9.3 u22.aarch64 pgdg 142.6 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg22.04+1_arm64.deb
postgresql-15-mysql-fdw 2.9.3 u24.x86_64 pgdg 124.4 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg24.04+2_amd64.deb
postgresql-15-mysql-fdw 2.9.3 u24.x86_64 pgdg 124.2 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg24.04+1_amd64.deb
postgresql-15-mysql-fdw 2.9.3 u24.aarch64 pgdg 120.8 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg24.04+2_arm64.deb
postgresql-15-mysql-fdw 2.9.3 u24.aarch64 pgdg 120.8 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg24.04+1_arm64.deb
postgresql-15-mysql-fdw 2.9.3 u26.x86_64 pgdg 122.4 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg26.04+2_amd64.deb
postgresql-15-mysql-fdw 2.9.3 u26.x86_64 pgdg 123.0 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg26.04+1_amd64.deb
postgresql-15-mysql-fdw 2.9.3 u26.aarch64 pgdg 119.1 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg26.04+2_arm64.deb
postgresql-15-mysql-fdw 2.9.3 u26.aarch64 pgdg 119.9 KiB postgresql-15-mysql-fdw_2.9.3-2.pgdg26.04+1_arm64.deb

Source

Install

Make sure PGDG repo available:

pig repo add pgdg -u    # add pgdg repo and update cache

Install this extension with pig:

pig install mysql_fdw;		# install via package name, for the active PG version

pig install mysql_fdw -v 18;   # install for PG 18
pig install mysql_fdw -v 17;   # install for PG 17
pig install mysql_fdw -v 16;   # install for PG 16
pig install mysql_fdw -v 15;   # install for PG 15

Create this extension with:

CREATE EXTENSION mysql_fdw;

Usage

mysql_fdw: Foreign data wrapper for querying a MySQL server

Create Server

CREATE EXTENSION mysql_fdw;

CREATE SERVER mysql_server
  FOREIGN DATA WRAPPER mysql_fdw
  OPTIONS (host '127.0.0.1', port '3306');

Server Options: host (default 127.0.0.1), port (default 3306), secure_auth (default true), init_command, use_remote_estimate (default false), reconnect (default false), sql_mode (default ANSI_QUOTES), fetch_size (default 100), character_set, truncatable (default true), plus SSL options (ssl_key, ssl_cert, ssl_ca, ssl_capath, ssl_cipher).

Create User Mapping

CREATE USER MAPPING FOR pguser
  SERVER mysql_server
  OPTIONS (username 'mysqluser', password 'mysqlpass');

Create Foreign Table

CREATE FOREIGN TABLE warehouse (
  warehouse_id int,
  warehouse_name text,
  warehouse_created timestamp
)
SERVER mysql_server
OPTIONS (dbname 'mydb', table_name 'warehouse');

Table Options: dbname (required, MySQL database name), table_name (defaults to foreign table name), fetch_size (overrides server setting), max_blob_size, truncatable (default true).

CRUD Operations

INSERT INTO warehouse VALUES (1, 'UPS', current_date);
SELECT * FROM warehouse ORDER BY warehouse_id;
UPDATE warehouse SET warehouse_name = 'NEW_NAME' WHERE warehouse_id = 1;
DELETE FROM warehouse WHERE warehouse_id = 3;

Pushdown Features

mysql_fdw optimizes queries through several pushdown mechanisms:

  • WHERE clause pushdown to minimize data transfer
  • Column pushdown to retrieve only requested columns
  • JOIN pushdown for joins between foreign tables on the same MySQL server
  • AGGREGATE pushdown for min, max, sum, avg, count
  • ORDER BY and LIMIT/OFFSET pushdown to reduce network traffic

Table reader