ORACLE_FDW_2_4_0
版本发布时间: 2021-09-24 15:14:20
laurenz/oracle_fdw最新发布版本:ORACLE_FDW_2_6_0(2023-09-09 01:29:40)
Enhancements:
-
Support push-down of
uuid
values.
Per request from @GaddipatiAsish. -
Introduce a server option
nchar
, turnedoff
by default.
This option, if set, enables the fix forNCHAR
andNVARCHAR2
columns introduced in 2.3.0.
We don't want that by default, since it causes a noticable performance hit and makesUPDATE
s with long strings fail with ORA-01461.
Problem reports by @threenotrump, @CHunter and @philflorent. -
Push down
LIMIT
clauses if possible.
These are pushed down asFETCH FIRST n ROWS ONLY
from Oracle 12.2 on.
Based on a patch by @darold, per request from @iliasaz.
Bugfixes:
-
Fix a performance regression introduced in 2.3.0 by the fix for
NCHAR
andNVARCHAR2
columns.
Reported by @philflorent. -
Fix a crash with type coerced array parameters.
This can make queries fail with aWHERE
condition likeWHERE varcharcol = ANY ($1);
where
$1
is atext[]
.
Reported by @samuelchoi16. -
Fix numeric precision in
IMPORT FOREIGN SCHEMA
.
In Oracle the precision of aNUMBER
can be less than the scale, but that is not allowed in PostgreSQL.
That leads to errors duringIMPORT
.
Reported by @alberto-dellera. -
Translate Oracle
NUMBER
toboolean
correctly.
The documentation says that numbers greater than 0 are mapped toTRUE
, but oracle_fdw gagged on numbers greater than 1 with errors likeERROR: invalid input syntax for type boolean: "2"
Reported by @mariszin.
-
Fix crash during
ANALYZE
of certain foreign tables.
If the Oracle table has more columns than the foreign table,ANALYZE
on the foreign table caused a crash.
Reported by Jan and @SeanKimMel. -
Fix build with unset
ORACLE_HOME
and Instant Client 21.
Reported by @fjf2002. -
Use the correct user mapping in
SECURITY DEFINER
contexts.
Before this, oracle_fdw always used the current user to determine the security context, which is wrong if a foreign table was accessed in aSECURITY DEFINER
function.
Reported by @ksmalara.
1、 oracle_fdw-2.4.0-pg10-win32.zip 256.8KB
2、 oracle_fdw-2.4.0-pg10-win64.zip 270.69KB
3、 oracle_fdw-2.4.0-pg11-win64.zip 293.2KB
4、 oracle_fdw-2.4.0-pg12-win64.zip 297.02KB
5、 oracle_fdw-2.4.0-pg13-win64.zip 304.35KB
6、 oracle_fdw-2.4.0-pg14-win64.zip 305.6KB
7、 oracle_fdw-2.4.0-pg96-win32.zip 254.31KB
8、 oracle_fdw-2.4.0-pg96-win64.zip 268.24KB