兼容性判定
公开资料依据 · 建议 PoC 复核支持度none
严重度major
置信度low
依据规则ora.plsql.seed.plv_packages
怎么改
逐成员改 core/应用实现;不按包名机械替换
判定说明
core 无 PLVDATE/PLVSTR/PLVCHR/PLVSUBST/PLVLEX 包;建议 PoC 复核
库侧 / 应用侧路径
库侧改造
可行:core 自建受测函数或获批安装固定 orafce
应用侧改造
可行:日期/字符串/词法处理迁应用标准库
推荐路线:case_by_case。验证建议:建议 PoC 复核每个成员签名、NULL、字符集、日期边界、异常、search_path 和扩展版本
规则样例
参考来源
- https://github.com/darold/ora2pg/blob/610f114c97db7fbd3762bfaec8dd45b8adc74d2d/lib/Ora2Pg/PLSQL.pm#L88-L184
- https://www.postgresql.org/docs/16/plpgsql.html
- https://www.postgresql.org/docs/16/datatype.html
- https://www.postgresql.org/docs/16/functions.html
- https://www.postgresql.org/docs/16/sql-commands.html
- https://github.com/orafce/orafce/blob/841978f4ec493492bb57fd12415959695cae1b64/orafce--4.16.sql
相关改造点
- ORACLE → postgresql 16 全部改造点
- postgresql 16 兼容性总览
- ORACLE 迁移国产库总览
- ORACLE ADD_MONTHS 函数 迁移 postgresql 16 怎么改
- ORACLE ALTER SESSION SET 会话参数 迁移 postgresql 16 怎么改
- ORACLE ANYDATA 动态类型列 迁移 postgresql 16 怎么改
- ORACLE ASCIISTR Unicode 转义函数 迁移 postgresql 16 怎么改
- ORACLE 关联数组(INDEX BY 表) 迁移 postgresql 16 怎么改
- ORACLE AT TIME ZONE 时区表达式 迁移 postgresql 16 怎么改