- 错误码参考
- 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-04401 -- GAUSS-04410
链接复制成功!
GAUSS-04401: "The local index %u on the partition %u not exist."
SQLSTATE: 42704
错误原因:可能由于drop partition和drop index并发,在drop index的时候可能对应index已经不存在了。
解决办法:调整并发控制
GAUSS-04402: "Path can not include whitespace"
SQLSTATE: 22023
错误原因:指定的路径中不能包含空格。
解决办法:重新指定一个不包含空格符的路径。
GAUSS-04403: "Can only access temp objects of the current session."
SQLSTATE: 0A000
错误原因:访问了其他session的临时对象。
解决办法:只允许访问本session的临时对象,不支持访问其他session的临时对象。
GAUSS-04404: "cache lookup failed for role %u"
SQLSTATE: XX000
错误原因:系统内部错误。
解决办法:请联系技术支持工程师提供技术支持。
GAUSS-04405: "temp relation is invalid because of cluster resizing"
SQLSTATE: 0A000
错误原因:扩容/缩容后原有临时表失效。
解决办法:
- 退出当前session,再重新连接并创建临时表
- 使用DROP SCHEMA %s, %s CASCADE来删除临时schema,再重建临时表。
GAUSS-04406: "internal relation doesn't allow DELETE"
SQLSTATE: XX000
错误原因:内部表对象不允许删除。
解决办法:修改SQL Statement。
GAUSS-04407: "Not allowed to insert into relation pg_auth_history."
SQLSTATE: XX000
错误原因:pg_auth_history用于审计帐户密码的变更。只有当pg_authid中的帐户密码发生变化时才记录相应的变动。如果认为变更,将影响审计。
解决办法:禁止使用insert …into…语句人为向pg_auth_history中插入记录。
GAUSS-04408: "do not support create non-temp table like temp table"
SQLSTATE: 0A000
错误原因:创建普通表时使用了like临时表语法,不支持这样使用。
解决办法:不支持创建非临时表like临时表,如果要使用like临时表语法,请将要创建的表也指定为临时表。
GAUSS-04409: "Only the primary key, unique, not null and null will be supported."
SQLSTATE: 0A000
错误原因:对于外表只有primary key,unique,not null以及null约束支持。
解决办法:若需要建立约束,请建立primary key,unique,not null以及null约束。
GAUSS-04410: "Only 'NOT ENFORCED' clause is supported for HDFS foreign table informational constraint."
SQLSTATE: 0A000
错误原因:信息约束目前对于HDFS外表只支持not enforced。
解决办法:创建外表指定行约束时,加上not enforced属性。
