This release comes with the following changes:
NEW FEATURES AND COMPATIBILITY
- Added support for PostgreSQL 19, upcoming Postgres Extended 19, and upcoming EDB Postgres Advanced Server 19.
- Remove support for PostgreSQL 13, Postgres Extended 13, and EDB Postgres Advanced Server 13.
- Documented support for EDB Postgres Extended Server in the README.
- ORDER BY push-down no longer adds the IS NULL prefix for columns declared NOT NULL, so MySQL can make better use of indexes. If a column is NOT NULL in PostgreSQL but nullable in MySQL, ordering of NULLs may differ.
BUG FIXES
- Fixed a crash or error on foreign joins with an empty target list, such as those produced by EXISTS(). (GitHub #334)
- UPDATE and DELETE on foreign tables whose first column is part of a composite key are now rejected. Previously they could silently modify or delete every row sharing that column's value. (GitHub #136)
- Fixed wrong results when the same parameter is used more than once in a pushed-down query, such as "c1 >= $1 AND c1 <= $1".
- Fixed INSERT into tables with generated or dropped columns, which could store values in the wrong column or write past the end of a buffer.
- Fixed BIT overflow and truncation. BIT(64) now round-trips, and strings longer than 64 bits are rejected.
- BYTEA and TEXT reads are now limited to the buffer size, which removes a latent heap over-read.
- Quoted the row-id column in UPDATE and DELETE, and replaced sprintf with snprintf for the timeout commands.
UPGRADE NOTES
- IMPORT FOREIGN SCHEMA now imports column defaults as string literals. Expression defaults such as CURRENT_TIMESTAMP must be set again on the foreign table after import.
- Foreign servers that use the restricted options and were created by non-superusers will be rejected when altered. A superuser needs to re-create or alter them.
- NO_BACKSLASH_ESCAPES is now always added to the remote session's sql_mode.
- Applications that run UPDATE or DELETE on tables with composite keys will now get an error. Previously these statements ran but could affect extra rows.
SECURITY FIXES
- CVE-2026-62151: Fixed SQL injection into the remote MySQL server on multi-byte character sets. See https://www.enterprisedb.com/docs/security/advisories/cve202662151/
- CVE-2026-62152: init_command, mysql_default_file, ssl related options can now be set only by superusers. See https://www.enterprisedb.com/docs/security/advisories/cve202662152/
- CVE-2026-62153: Fixed SQL injection into the remote MySQL server through unescaped names in ANALYZE and IMPORT FOREIGN SCHEMA and the sql_mode option. See https://www.enterprisedb.com/docs/security/advisories/cve202662153/
- CVE-2026-62154: Fixed SQL injection into the local PostgreSQL cluster during IMPORT FOREIGN SCHEMA. See https://www.enterprisedb.com/docs/security/advisories/cve202662154/