oid转blob问题

阅读 74

2022-05-24

瀚高数据库

目录

环境

症状

问题原因

解决方案


环境

系统平台: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)

0 0 举报