Enhancements:
-
Add support for the "json" PostgreSQL data type. On the Oracle side,
CLOBorVARCHAR2can be used.
Suggested by @bsislow. -
Add support and documentation for building with Microsoft Visual Studio.
Patch by @chrullrich. -
Enable delayed loading of the Oracle DLL on Windows. This allows better diagnostic messages if the library cannot be loaded.
Patch by @chrullrich. -
Report the correct SQLSTATE for constraint violation and deadlock errors.
Idea by "omistler". -
Push down outer joins to Oracle.
Patch by @yamatattsu, courtesy of NTT OSS Center.
Bugfixes:
-
Missing check if Oracle data types can be converted to PostgreSQL types.
This bug was introduced in 2.0.0. -
When oracle_fdw is loaded, initializing background workers (e.g. for parallel query) failed with:
ERROR: invalid cache ID: 41 -
Don't try to push down
IS [NOT] DISTINCT FROMexpressions. Oracle does not support this standard SQL syntax. -
Don't push down
IS [NOT] NULLtests on boolean expressions. This causedORA-00907: missing right parenthesisNoticed by @yamatattsu during testing with sqlsmith.
-
Allow foreign tables to be defined on Oracle queries that contain double quotes. This caused an error message due to a sanity check that has become obsolete when this feature was introduced.
Noted by @Bpapman. -
Disable push-down of foreign joins in queries with
FOR UPDATE.
These used to be pushed down before, but without theFOR UPDATEclause, leading to incorrect behavior in the face of concurrency.
Noted and fixed by @yamatattsu.