Skip to content

Ecosystem Integration: mysql_fdw - #302

Open
messere1 wants to merge 2 commits into
IvorySQL:masterfrom
messere1:codex/issue-1312-mysql-fdw
Open

Ecosystem Integration: mysql_fdw#302
messere1 wants to merge 2 commits into
IvorySQL:masterfrom
messere1:codex/issue-1312-mysql-fdw

Conversation

@messere1

@messere1 messere1 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add bilingual mysql_fdw 2.9.3 installation and usage documentation
  • document MySQL 8.4 setup, schema import, CRUD, UTF-8 handling, and query pushdown
  • record the IvorySQL version boundary introduced by the extension API compatibility fix
  • add the component to the English and Chinese navigation and ecosystem overview

Validation

Tested mysql_fdw 2.9.3 without source changes against the current IVORY_REL_5_STABLE (IvorySQL 5.6 / PostgreSQL 18.6) and MySQL 8.4 on x86_64 Linux.

  • build and install: passed
  • CREATE EXTENSION and IMPORT FOREIGN SCHEMA: passed
  • SELECT/INSERT/UPDATE/DELETE in PG mode: passed
  • SELECT/INSERT/UPDATE/DELETE in Oracle mode: passed
  • UTF-8 Chinese text and NULL values: passed
  • filter/projection/order/limit pushdown: passed
  • all nine upstream regression groups: passed

The released IvorySQL 5.4 image predates IvorySQL/IvorySQL#1448 and cannot build mysql_fdw 2.9.3; the documentation calls out this requirement explicitly.

Fixes IvorySQL/IvorySQL#1312

Copilot AI lite review requested due to automatic review settings September 4, 2026 03:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new docs include a hard-coded pg_config path and a minor table-format inconsistency that can mislead readers and should be normalized before merging.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR adds bilingual (EN/CN) documentation for integrating mysql_fdw with IvorySQL, including validated version/compatibility notes, step-by-step installation/configuration, and navigation/ecosystem index updates so the new component is discoverable in the docs site.

Changes:

  • Added new mysql_fdw ecosystem component pages in English and Chinese covering installation, MySQL setup, schema import, CRUD, UTF-8 handling, and pushdown validation.
  • Updated ecosystem overview tables (EN/CN) to list mysql_fdw as a supported component.
  • Updated EN/CN navigation to include the new mysql_fdw docs page.
File summaries
File Description
EN/modules/ROOT/pages/master/ecosystem_components/mysql_fdw.adoc New English mysql_fdw install/usage/validation/troubleshooting documentation.
EN/modules/ROOT/pages/master/ecosystem_components/ecosystem_overview.adoc Adds mysql_fdw to the English ecosystem component compatibility list.
EN/modules/ROOT/nav.adoc Adds mysql_fdw to the English navigation sidebar.
CN/modules/ROOT/pages/master/ecosystem_components/mysql_fdw.adoc New Chinese mysql_fdw install/usage/validation/troubleshooting documentation.
CN/modules/ROOT/pages/master/ecosystem_components/ecosystem_overview.adoc Adds mysql_fdw to the Chinese ecosystem component compatibility list.
CN/modules/ROOT/nav.adoc Adds mysql_fdw to the Chinese navigation sidebar.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +41 to +44

export PG_CONFIG=/usr/local/ivorysql/bin/pg_config
make USE_PGXS=1 PG_CONFIG="$PG_CONFIG"
sudo make USE_PGXS=1 PG_CONFIG="$PG_CONFIG" install

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the example to use IVORYSQL_HOME with the RPM default path and a note to adjust it.

Comment on lines +44 to +45
| *30* | xref:master/ecosystem_components/set_user.adoc[set_user] | REL4_2_0 | PostgreSQL security auditing extension with controlled role switching, supporting allowlists, enforced auditing, and blocking of high-risk operations | Controlled role switching, privilege management, audit logging
| *31* | xref:master/ecosystem_components/mysql_fdw.adoc[mysql_fdw] | 2.9.3 | Foreign data wrapper for querying and modifying MySQL data from IvorySQL, with schema import and query pushdown | MySQL integration, federated queries, data migration

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normalized the new index cell to match the existing table format.

Comment on lines +41 to +44

export PG_CONFIG=/usr/local/ivorysql/bin/pg_config
make USE_PGXS=1 PG_CONFIG="$PG_CONFIG"
sudo make USE_PGXS=1 PG_CONFIG="$PG_CONFIG" install

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the example to use an adjustable IVORYSQL_HOME variable, with the RPM default shown.

@github-actions
github-actions Bot temporarily deployed to pull request September 4, 2026 03:41 Inactive
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

🚀 IvorySQL-Docs Preview Ready

@github-actions
github-actions Bot temporarily deployed to pull request September 4, 2026 03:48 Inactive
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

🚀 IvorySQL-Docs Preview Ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants