Skip to content

REL-5_6_0

Latest

Choose a tag to compare

@jeevanchalke jeevanchalke released this 25 Nov 11:17

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.

BUG FIXES

  • Option strings now use consistent memory management, and credentials are cleared from memory before being freed.
  • MongoDB cursor errors are now reported as errors. Previously a failed query could silently return no rows.
  • Fixed pushdown of LIMIT 0. MongoDB rejected {$limit: 0}, and the error was hidden by the cursor-error bug above. LIMIT 0 now returns no rows.
  • Converting a BSON double to smallint, integer or bigint now rounds to the nearest integer, as PostgreSQL does, instead of truncating. For example, 0.9 now yields 1.
  • Fixed NaN/Infinity handling in double-to-integer conversion. These values and out-of-range values now raise an error. Previously a smallint could silently wrap (e.g. 2147483646 became -2).
  • Cursor creation errors now use the same "Mongo driver error: %s" hint as other cursor errors, without extra quotes.

DOCUMENTATION CHANGES

  • Documented that aggregate pushdown bypasses NaN/Infinity validation. For example, SUM(bigint) can return NaN instead of raising an error. Set enable_aggregate_pushdown to false as a workaround.
  • Documented WHERE clause push-down support.
  • Documented limitations for column names containing dollar signs.
  • Documented clarified regression test prerequisites in INSTALL.md.

SECURITY FIXES