0
点赞
收藏
分享

微信扫一扫

oid转blob问题

驚鴻飛雪 2022-05-24 阅读 73

瀚高数据库

目录

环境

症状

问题原因

解决方案


环境

系统平台:Linux x86-64 Red Hat Enterprise Linux 7

版本:4.5

症状

column "ZYZP" is of type BLOB but expression is of type OID

问题原因

应用中配置的BLOB类型,数据库中类型是bytea

解决方案

sysdba登录执行
create cast(oid as bytea) with inout as IMPLICIT;
举报

相关推荐

0 条评论