164 Star 224 Fork 1.2K

openGauss / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
GAUSS-00021----GAUSS-00030.md 2.28 KB
一键复制 编辑 原始数据 按行查看 历史
liyang 提交于 2020-12-18 11:47 . error code

GAUSS-00021 -- GAUSS-00030

GAUSS-00021: "unsupported pathtype %d in build_coercion_expression"

SQLSTATE: XX000

错误原因:系统内部错误。

解决办法:请联系技术支持工程师提供技术支持。

GAUSS-00022: "cannot cast type %s to %s"

SQLSTATE: 42846

错误原因:两个类型之间不能相互转化。

解决办法:两个类型之间不存在类型转换函数,可查看pg_cast系统表获取相关信息。

GAUSS-00024: "argument of %s must not return a set"

SQLSTATE: 42804

错误原因:不支持返回集合的操作。

解决办法:表达式计算不支持返回集合。

GAUSS-00025: "argument of %s must be type %s, not type %s"

SQLSTATE: 42804

错误原因:源类型和目标类型不一致,且不能转换时,报此错。

解决办法:源类型和目标类型要兼容可转换。

GAUSS-00026: "%s types %s and %s cannot be matched"

SQLSTATE: 42804

错误原因:两个类型的类别不一样。

解决办法:可查看pg_type中的typcategory字段确定每个类型属于的类别。

GAUSS-00027: "%s could not convert type %s to %s"

SQLSTATE: 42846

错误原因:源类型和目标类型不一致,且不能转换时,报此错。

解决办法:源类型和目标类型要兼容可转换。

GAUSS-00028: "arguments declared 'anyelement' are not all alike"

SQLSTATE: 42804

错误原因:对于伪类型作为函数参数,数组中各个元素的类型和定义的类型不一致。

解决办法:对于伪类型作为函数参数,数组中各个元素的类型和定义的类型要保持一致。

GAUSS-00029: "arguments declared 'anyarray' are not all alike"

SQLSTATE: 42804

错误原因:对于伪类型作为函数参数,数组中各个元素的类型和定义的类型不一致。

解决办法:对于伪类型作为函数参数,数组中各个元素的类型和定义的类型要保持一致。

GAUSS-00030: "arguments declared 'anyrange' are not all alike"

SQLSTATE: 42804

错误原因:对于伪类型作为函数参数,数组中各个元素的类型和定义的类型不一致。

解决办法:对于伪类型作为函数参数,数组中各个元素的类型和定义的类型要保持一致。

1
https://gitee.com/opengauss/docs.git
git@gitee.com:opengauss/docs.git
opengauss
docs
docs
2.1.0

搜索帮助