触发器错误码

本文介绍与触发器相关的错误码。

错误码消息错误原因
0A000Not all nodes are at the correct version to use Triggers并非所有节点都升级到了支持触发器的版本。
42P17Object %s cannot be bound to a trigger不支持在复制表、视图、序列、临时表、时序表上创建触发器。
42P17Trigger %s already exists on table %s目标表上已存在同名触发器。
42601empty trigger name重命名触发器时未指定触发器名称。
42704trigger "%s" does not exist无法解析到目标触发器。
3D000unsupported table type: %s in trigger触发器绑定的对象不是关系引擎的普通表。
42P13cannot use OLD in INSERT event triggerINSERT 事件触发器不支持使用 OLD 别名。
42P13cannot use NEW in DELETE event triggerDELETE 事件触发器不支持使用 NEW 别名。
0A000INSERT ... ON CONFLICT is not supported in trigger definition触发器主体不支持 INSERT ... ON CONFLICT 语句。
42P13Can't update table %s in trigger because it is already used by statement which invoked this trigger.不支持在触发器主体中对触发器关联的表进行操作。
42704trigger "%s" on table "%s" does not exist重命名触发器时目标触发器不存在。
42P17trigger "%s" already exists on table "%s"重命名触发器时已存在同名触发器。
42P17Referenced trigger "%s" for the given action time does not exist创建的触发器的触发时机和引用的(FOLLOWSPRECEDES)触发器的触发时机不一致。
09000TriggeredActionException: errMsg执行触发器主体时遇到错误。