GAUSS-01451 — GAUSS-01460
SQLSTATE: 42710
错误原因:CREATE OPERATOR CLASS、ALTER OPERATOR FAMILY … ADD/DROP function,已经存在了相同的function。
解决办法:CREATE OPERATOR CLASS、ALTER OPERATOR FAMILY … ADD/DROP function之前,确保添加的function在指定的operator family中尚未存在。
GAUSS-01452: “operator %d(%s,%s) does not exist in operator family ‘%s’”
SQLSTATE: 42704
错误原因:ALTER OPERATOR FAMILY … DROP operator,但是指定的operator不存在。
解决办法:ALTER OPERATOR FAMILY … DROP operator,必须确保指定的operator在指定的operator family中存在。
GAUSS-01453: “function %d(%s,%s) does not exist in operator family ‘%s’”
SQLSTATE: 42704
错误原因:ALTER OPERATOR FAMILY … DROP function,但是指定的function不存在。
解决办法:ALTER OPERATOR FAMILY … DROP function,必须确保指定的function在指定的operator family中存在。
GAUSS-01454: “could not find tuple for amop entry %u”
错误原因:系统内部错误。
解决办法:请联系技术支持工程师提供技术支持。
GAUSS-01455: “could not find tuple for amproc entry %u”
SQLSTATE: XX000
错误原因:系统内部错误。
解决办法:请联系技术支持工程师提供技术支持。
GAUSS-01456: “operator class ‘%s’ for access method ‘%s’ already exists in schema ‘%s’”
SQLSTATE: 42710
错误原因:ALTER OPERATOR CLASS name USING index_method RENAME TO new_name,但是新名称在schema中已经存在了。
解决办法:ALTER OPERATOR CLASS name USING index_method RENAME TO new_name,首先确保新名称在schema中不存在。
GAUSS-01457: “operator family ‘%s’ for access method ‘%s’ already exists in schema ‘%s’”
SQLSTATE: 42710
解决办法:ALTER OPERATOR FAMILY name USING index_method RENAME TO new_name,首先确保新名称在schema中不存在。
GAUSS-01458: “SETOF type not allowed for operator argument”
SQLSTATE: 42P13
错误原因:CREATE OPERATOR,左参数或右参数是SETOF类型(集合)。
解决办法:CREATE OPERATOR,左参数和右参数都不能是SETOF类型(集合)。
GAUSS-01459: “operator procedure must be specified”
SQLSTATE: 42P13
错误原因:CREATE OPERATOR,没有指定procedure。
解决办法:CREATE OPERATOR,必须指定procedure。
GAUSS-01460: “at least one of leftarg or rightarg must be specified”
SQLSTATE: 42P13
错误原因:CREATE OPERATOR,既没有指定LEFTARG,也没有指定RIGHTARG。