GAUSS-00031 -- GAUSS-00040

GAUSS-00031: “argument declared 'anyarray' is not an array but type %s”

SQLSTATE: 42804

Description: The type of the declared parameter is inconsistent with that of the input parameter.

Solution: Use an input parameter of the same type as the declared parameter.

GAUSS-00032: “argument declared 'anyarray' is not consistent with argument declared 'anyelement'”

SQLSTATE: 42804

Description: The array type defined does not match the types of elements in an ANY array.

Solution: Ensure that the array type defined in the query statement and the types of elements in an ANY array are correct.

GAUSS-00033: “argument declared 'anyrange' is not a range but type %s”

SQLSTATE: 42804

Description: The range type defined does not match the types of elements in an ANY range.

Solution: Ensure that the range type defined in the query statement and the types of elements in an ANY range are correct.

GAUSS-00034: “argument declared 'anyrange' is not consistent with argument declared 'anyelement'”

SQLSTATE: 42804

Description: The parameter type is different from the declared parameter type.

Solution: Use a parameter of the declared type.

GAUSS-00035: “could not determine polymorphic type because input has type 'unknown'”

SQLSTATE: 42804

Description: Array element types cannot be identified.

Solution: Ensure that the array element types in the ANY predicate are correct.

GAUSS-00036: “type matched to anynonarray is an array type: %s”

SQLSTATE: 42804

Description: The required type is not array.

Solution: Internal system error. Contact technical support.

GAUSS-00037: “type matched to anyenum is not an enum type: %s”

SQLSTATE: 42804

Description: The required type is ENUM.

Solution: Ensure that an ENUM-type value is used for the parameter of the ANYENUM type.

GAUSS-00038: “could not find range type for data type %s”

SQLSTATE: 42704

Description: The declared array type is range, but the input value is not of the range type.

Solution: Assign a value of the defined type to the array.

GAUSS-00039: “could not determine polymorphic type because context isn't polymorphic”

SQLSTATE: XX000

Description:Internal system error.

Solution:Contact technical support.

GAUSS-00040: “unrecognized castcontext: %d”

SQLSTATE: XX000

Description:Internal system error.

Solution:Contact technical support.

Feedback
编组 3备份
    openGauss 2024-05-06 00:44:54
    cancel