GAUSS-01021 -- GAUSS-01030
GAUSS-01021: "unrecognized constraint subtype: %d"
SQLSTATE: XX000
Description: The constraint type is invalid.
Solution: Check whether the constraint type defined in the SQL statement is correct.
GAUSS-01022: "%s is not an enum"
SQLSTATE: 42809
Description: The object is not of the enum type.
Solution: Ensure that the object is of the enum type.
GAUSS-01023: "type attribute '%s' not recognized"
SQLSTATE: 42601
Description: The type attribute is not identified.
Solution: Ensure that the type attribute is valid.
GAUSS-01024: "type attribute 'subtype' is required"
SQLSTATE: 42601
Description: The subtype attribute of the type is not specified.
Solution: Add the subtype attribute to the SQL statement.
GAUSS-01025: "range subtype cannot be %s"
SQLSTATE: 42804
Description: range subtype is the pseudo type.
Solution: Ensure that range subtype is not the pseudo type.
GAUSS-01026: "range collation specified but subtype does not support collation"
SQLSTATE: 42809
Description: range collation is specified, but the subtype does not support collation.
Solution: If a collation is specified, ensure that the subtype supports collation.
GAUSS-01027: "typmod_in function %s must return type 'integer'"
SQLSTATE: 42P17
Description: The return type of the typmod_in function is not integer.
Solution: Check the tymod_in function and ensure that the return type is integer.
GAUSS-01028: "typmod_out function %s must return type 'cstring'"
SQLSTATE: 42P17
Description: The return type of the typmod_out function is not cstring.
Solution: Check the typmod_out function and ensure that the return type is cstring.
GAUSS-01029: "type analyze function %s must return type 'boolean'"
SQLSTATE: 42P17
Description: The return type of the analyze function is not boolean.
Solution: Check the analyze function and ensure that the return type is boolean.
GAUSS-01030: "operator class '%s' does not accept data type %s"
SQLSTATE: 42804
Description: The operator class does not support this data type.
Solution: Ensure that the subtype matches the operator class.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.