更新时间:2023-12-22 GMT+08:00
分享

查询重写

GS_221100010

错误码: column %s is of type %s but default expression is of type %s.

解决方案:您需要重写或强制转换表达式。

level: ERROR

GS_221100016

错误码: cannot perform INSERT RETURNING on relation %s.

解决方案:您需要一个无条件的ON INSERT DOTRACE规则,并带有一个RETURNING子句。

level: ERROR

GS_221100017

错误码: cannot perform UPDATE RETURNING on relation %s.

解决方案:您需要一个无条件的ON UPDATE DO INSTEAD规则,并带有一个RETURNING子句。

level: ERROR

GS_221100018

错误码: cannot perform DELETE RETURNING on relation %s.

解决方案:您需要一个无条件的ON DELETE DO INSTEAD规则,并带有一个RETURNING子句。

level: ERROR

GS_221100021

错误码: no collation was derived for column %s with collatable type %s.

解决方案:使用COLLATE子句显式设置排序规则。

level: ERROR

GS_221100050

错误码: rule actions on OLD are not implemented.

解决方案:请改用视图或触发器。

level: ERROR

GS_221100051

错误码: rule actions on NEW are not implemented.

errhint:请改用视图或触发器。

level: ERROR

GS_221100052

错误码: INSTEAD NOTHING rules on SELECT are not implemented.

解决方案:请改用视图或触发器。

level: ERROR

GS_221100062

错误码: cannot perform INSERT RETURNING on relation %s.

解决方案:您需要一个无条件的ON INSERT DOTRACE规则,并带有一个RETURNING子句。

level: ERROR

GS_221100063

错误码: cannot perform UPDATE RETURNING on relation %s.

解决方案:您需要一个无条件的ON UPDATE DOTRACE规则,并带有一个RETURNING子句。

level: ERROR

GS_221100064

错误码: cannot perform DELETE RETURNING on relation %s.

解决方案:您需要一个无条件的ON DELETE DOTRACE规则,并带有一个RETURNING子句。

level: ERROR

GS_221110004

错误码: there are multiple rules named %s.

解决方案:指定关系名称和规则名称。

level: ERROR

GS_221180006

错误码: could not convert table %s to a view because it has triggers.

解决方案:表不能涉及任何外键关系。

level: ERROR

分享:

    相关文档

    相关产品