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

GAUSS-00251 -- GAUSS-00260

GAUSS-00251: "yylex_init() failed: %m"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-00252: "Invalid RTE found"

SQLSTATE: XX000

Description: The reference is not found.

Solution: Modify the SQL statement.

GAUSS-00253: "cannot assign to system column '%s'"

SQLSTATE: 0A000

Description: A value cannot be assigned to the system column.

Solution: Do not perform any operation on the system column.

GAUSS-00254: "cannot set an array element to DEFAULT"

SQLSTATE: 0A000

Description: The default value is set for an array element.

Solution: Do not set the default value of an array element.

GAUSS-00255: "cannot set a subfield to DEFAULT"

SQLSTATE: 0A000

Description: The default value of the array subscript is set.

Solution: Do not set the default value of the array subscript.

GAUSS-00256: "column '%s' is of type %s but expression is of type %s"

SQLSTATE: 42804

Description: Data types at both sides of the expression are inconsistent.

Solution: Switch the data type at either side to make them consistent.

GAUSS-00257: "cannot assign to field '%s' of column '%s' because its type %s is not a composite type"

SQLSTATE: 42804

Description: A field is specified for a variable of a non-composite type.

Solution: Do not specify a field for a variable of a non-composite type.

GAUSS-00258: "cannot assign to field '%s' of column '%s' because there is no such column in data type %s"

SQLSTATE: 42703

Description: A field is specified for a variable of a non-composite type.

Solution: Do not specify a field for a variable of a non-composite type.

GAUSS-00259: "cannot assign to system column '%s'"

SQLSTATE: 42703

Description: A value cannot be assigned to the system column.

Solution: Do not perform any operation on the system column.

GAUSS-00260: "array assignment to '%s' requires type %s but expression is of type %s"

SQLSTATE: 42804

Description: The object to which a value is assigned does not match the actual expression type.

Solution: Modify the SQL statement.