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-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

错误原因:扩容/缩容后原有临时表失效。

解决办法:

  1. 退出当前session,再重新连接并创建临时表。
  2. 使用DROP SCHEMA %s, %s CASCADE来删除临时schema,再重建临时表。

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临时表语法,请将要创建的表也指定为临时表。

意见反馈
编组 3备份
openGauss 2024-03-19 00:48:12
取消