- 错误码参考
- 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-00031 -- GAUSS-00040
链接复制成功!
GAUSS-00031: "argument declared 'anyarray' is not an array but type %s"
SQLSTATE: 42804
错误原因:声明的参数和实际传入的参数类型不符。
解决办法:传入的参数要和声明的参数类型一致。
GAUSS-00032: "argument declared 'anyarray' is not consistent with argument declared 'anyelement'"
SQLSTATE: 42804
错误原因:对于数组类型的ANY谓词,定义的数组类型与ANY数组中每个元素的类型不匹配。
解决办法:1.请分别查看定义的ANY数组的类型和ANY数组中元素的类型;2.分别确认查询语句中出现的ANY数组的类型和ANY数组中元素的类型是否正确。
GAUSS-00033: "argument declared 'anyrange' is not a range but type %s"
SQLSTATE: 42804
错误原因:对于范围类型的ANY谓词,定义的范围类型与ANY数组中每个元素的类型不匹配。
解决办法:1.请分别查看定义的ANY范围的类型和ANY数组中元素的类型;2.分别确认查询语句中出现的ANY范围的类型和ANY数组中元素的类型是否正确。
GAUSS-00034: "argument declared 'anyrange' is not consistent with argument declared 'anyelement'"
SQLSTATE: 42804
错误原因:实际的参数类型和声明的参数类型不一致。
解决办法:实际的参数类型和声明的参数类型要保持一致。
GAUSS-00035: "could not determine polymorphic type because input has type 'unknown'"
SQLSTATE: 42804
错误原因:无法识别数组元素类型。
解决办法:请确认ANY谓词中数组元素的类型是否正确。
GAUSS-00036: "type matched to anynonarray is an array type: %s"
SQLSTATE: 42804
错误原因:实际需要的不是array类型。
解决办法:内部错误,请联系技术支持工程师提供技术支持。
GAUSS-00037: "type matched to anyenum is not an enum type: %s"
SQLSTATE: 42804
错误原因:实际需要的是enum类型。
解决办法:声明为anyenum类型的参数只接受enum类型。
GAUSS-00038: "could not find range type for data type %s"
SQLSTATE: 42704
错误原因:数组声明为范围类型,但是实际传入的值不是范围类型。
解决办法:对数组赋值时,类型要和定义时的类型保持一致。
GAUSS-00039: "could not determine polymorphic type because context isn't polymorphic"
SQLSTATE: XX000
错误原因:系统内部错误。
解决办法:请联系技术支持工程师提供技术支持。
GAUSS-00040: "unrecognized castcontext: %d"
SQLSTATE: XX000
错误原因:系统内部错误。
解决办法:请联系技术支持工程师提供技术支持。
