- 错误码参考
- SQL标准错误码说明
- 第三方库错误码说明
- GAUSS-00001 -- GAUSS-00100
- GAUSS-00101 -- GAUSS-00200
- GAUSS-00201 -- GAUSS-00300
- GAUSS-00301 -- GAUSS-00400
- GAUSS-00401 -- GAUSS-00500
- GAUSS-00501 -- GAUSS-00600
- GAUSS-00601 -- GAUSS-00700
- GAUSS-00701 -- GAUSS-00800
- GAUSS-00801 -- GAUSS-00900
- GAUSS-00901 -- GAUSS-01000
- GAUSS-01001 -- GAUSS-01100
- GAUSS-01101 -- GAUSS-01200
- GAUSS-01201 -- GAUSS-01300
- GAUSS-01301 -- GAUSS-01400
- GAUSS-01401 -- GAUSS-01500
- GAUSS-01501 -- GAUSS-01600
- GAUSS-01601 -- GAUSS-01700
- GAUSS-01701 -- GAUSS-01800
- GAUSS-01801 -- GAUSS-01900
- GAUSS-01901 -- GAUSS-02000
- GAUSS-02001 -- GAUSS-02100
- GAUSS-02101 -- GAUSS-02200
- GAUSS-02201 -- GAUSS-02300
- GAUSS-02301 -- GAUSS-02400
- GAUSS-02401 -- GAUSS-02500
- GAUSS-02501 -- GAUSS-02600
- GAUSS-02601 -- GAUSS-02700
- GAUSS-02701 -- GAUSS-02800
- GAUSS-02801 -- GAUSS-02900
- GAUSS-02901 -- GAUSS-03000
- GAUSS-03001 -- GAUSS-03100
- GAUSS-03101 -- GAUSS-03200
- GAUSS-03201 -- GAUSS-03300
- GAUSS-03301 -- GAUSS-03400
- GAUSS-03401 -- GAUSS-03500
- GAUSS-03501 -- GAUSS-03600
- GAUSS-03601 -- GAUSS-03700
- GAUSS-03701 -- GAUSS-03800
- GAUSS-03801 -- GAUSS-03900
- GAUSS-03901 -- GAUSS-04000
- GAUSS-04001 -- GAUSS-04100
- GAUSS-04101 -- GAUSS-04200
- GAUSS-04201 -- GAUSS-04300
- GAUSS-04301 -- GAUSS-04400
- GAUSS-04401 -- GAUSS-04500
- GAUSS-04501 -- GAUSS-04600
- GAUSS-04601 -- GAUSS-04700
- GAUSS-04701 -- GAUSS-04800
- GAUSS-04901 -- GAUSS-04999
- GAUSS-05101 -- GAUSS-05200
- GAUSS-05801 -- GAUSS-05900
- GAUSS-05901 -- GAUSS-05999
- GAUSS-06101 -- GAUSS-06200
- GAUSS-50000 -- GAUSS-50999
- GAUSS-51000 -- GAUSS-51999
- GAUSS-52000 -- GAUSS-52999
- GAUSS-53000 -- GAUSS-53999
GAUSS-00051 -- GAUSS-00060
链接复制成功!
GAUSS-00051: "improper %%TYPE reference (too many dotted names): %s"
SQLSTATE: 42601
错误原因:函数中定义的table_name.column_name%TYPE引用列的类型错误,".column_name"前参数太多。
解决办法:请检查函数中定义的变量类型table_name.column_name%TYPE中的表名或列名引用是否正确,并重新修改语法后再创建函数定义。
GAUSS-00052: "column '%s' of relation '%s' does not exist"
SQLSTATE: 42703
错误原因:列名或者为空,或者拼写错误,或者不是关系表中定义的列名。
解决办法:请通过\d tblname检查当前指定的列名是否为表中指定的列名,如果不正确,请修改为合法的列名。
GAUSS-00053: "type '%s' does not exist"
SQLSTATE: 42704
错误原因:根据给定的类型名在系统表pg_type中无法找到匹配的类型。
解决办法:请检查语句中使用的类型名是否正确(可参考系统表pg_type中已定义的类型)。
GAUSS-00054: "type '%s' is only a shell"
SQLSTATE: 42704
错误原因:给定的类型名在系统表pg_type中没有定义对应的操作执行函数。
解决办法:请确认语句中使用的类型名是否正确。如果正确,请通过create type语句自定义所使用类型名对应的操作函数。
GAUSS-00055: "type modifier cannot be specified for shell type '%s'"
SQLSTATE: 42601
错误原因:自定义的类型包含了typmod。
解决办法:自定义的类型不能包含typmod。
GAUSS-00056: "type modifier is not allowed for type '%s'"
SQLSTATE: 42601
错误原因:自定义的类型包含了typmod。
解决办法:自定义的类型不能包含typmod。
GAUSS-00057: "type modifiers must be simple constants or identifiers"
SQLSTATE: 42601
错误原因:给定的类型修饰符错误。
解决办法:类型表示符必须定义为常量或标识符,请检查给定的类型修饰符语法是否正确,然后重新定义一个合法的类型修饰符。
GAUSS-00058: "collations are not supported by type %s"
SQLSTATE: 42804
错误原因:collation与类型不匹配,输入的问题。
解决办法:用户检查输入SQL。
GAUSS-00059: "typeTypeId() called with NULL type struct"
SQLSTATE: XX000
错误原因:系统内部错误。
解决办法:请联系技术支持工程师提供技术支持。
GAUSS-00060: "invalid type name '%s'"
SQLSTATE: 42601
错误原因:给定的类型名无效。
解决办法:请检查语句中使用的类型名是否正确(可参考系统表pg_type中已定义的类型)。
相关文档
相关产品



