Updated on 2023-12-22 GMT+08:00

GAUSS-01961 -- GAUSS-01970

GAUSS-01961: "invalid enum label '%s'"

SQLSTATE: 42602

Description: The enum type is invalid.

Solution: Check whether SQL statements contain the invalid enumerated type displayed in the system.

GAUSS-01962: "'%s' is not an existing enum label"

SQLSTATE: 22023

Description: The enum type is invalid.

Solution: Check whether SQL statements contain the invalid enumerated type displayed in the system.

GAUSS-01963: "ALTER TYPE ADD BEFORE/AFTER is incompatible with binary upgrade"

SQLSTATE: 22023

Description: Enumerated type change is incompatible with binary upgrade.

Solution: Check whether the SQL statements contain enumerated type change information.

GAUSS-01964: "invalid type internal size %d"

SQLSTATE: 42P17

Description: The type length is invalid.

Solution: Run the \d+ tablename command to check the correct type length of corresponding fields.

GAUSS-01965: "alignment '%c' is invalid for passed-by-value type of size %d"

SQLSTATE: 42P17

Description: The length of the PASS-BY-VALUE type is invalid.

Solution: Correct the PASS-BY-VALUE length.

GAUSS-01966: "internal size %d is invalid for passed-by-value type"

SQLSTATE: 42P17

Description: The length of the PASS-BY-VALUE type is invalid.

Solution: Correct the PASS-BY-VALUE length.

GAUSS-01967: "alignment '%c' is invalid for variable-length type"

SQLSTATE: 42P17

Description: The alignment is invalid for the variable-length type.

Solution: Correct the PASS-BY-VALUE length.

GAUSS-01968: "fixed-size types must have storage PLAIN"

SQLSTATE: 42P17

Description: The STORAGE attribute of the fixed-length type must be PLAIN.

Solution: Correct the PASS-BY-VALUE length.

GAUSS-01969: "cannot assign new OID to existing shell type"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-01970: "could not form array type name for type '%s'"

SQLSTATE: 42710

Description: The array type name is too long.

Solution: Check whether the array type length defined in the current create type definition statement exceeds the maximum number 63.