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

GAUSS-02101 -- GAUSS-02110

GAUSS-02101: "Invalid RTE found."

SQLSTATE: XX000

Description: An internal error occurs. The table information is invalid.

Solution: Internal system error. Contact technical support.

GAUSS-02102: "could not determine which collation to use for regular expression"

SQLSTATE: 42P22

Description: A proper collation cannot be determined for regular expressions.

Solution: Correct the regular expression definition.

Example:

1
2
3
4
5
6
postgres=# insert into t8 values('a','b');
INSERT 0 1
postgres=# select regexp_matches(ifnull(a,b),'[Ab]') from t8;
ERROR:  could not determine which collation to use for regular expression
HINT:  Use the COLLATE clause to set the collation explicitly.
CONTEXT:  referenced column: regexp_matches

GAUSS-02103: "syntax error at line %d: unexpected character '%s'"

SQLSTATE: XX000

Description: The syntax is incorrect.

Solution: Modify the SQL statement.

GAUSS-02104: "%s at line %d"

SQLSTATE: XX000

Description: The syntax is incorrect.

Solution: Modify the SQL statement.

GAUSS-02105: "incorrect number of columns in row (expected %d, got %d)"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-02106: "relation not open"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-02107: "too many columns"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-02108: "unrecognized process type: %d"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-02109: "close of %s when %s was expected"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-02110: "close of %s before any relation was opened"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.