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

GAUSS-03801 -- GAUSS-03810

GAUSS-03801: "cannot perform DELETE RETURNING on relation '%s'"

SQLSTATE: 0A000

Description: An error occurs when the DELETE RETURNING operation is performed on a table because the INSTEAD rule contains RETURNING while the original statement does not.

Solution: Use the ON DELETE DO INSTEAD rule that contains the RETURNING clause.

GAUSS-03802: "WITH cannot be used in a query that is rewritten by rules into multiple queries"

SQLSTATE: 0A000

Description: Multiple queries use WITH.

Solution: Check the usage of rules.

GAUSS-03803: "Unexpected commandType or intoClause is not set properly"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-03804: "cannot push down CurrentOfExpr"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-03805: "expected to find SELECT subquery"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-03806: "could not find rule placeholders"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-03807: "conditional utility statements are not implemented"

SQLSTATE: 0A000

Description: The conditional utility clause is used.

Solution: Do not use the clause.

GAUSS-03808: "replace_rte_variables inserted a SubLink, but has noplace to record it"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-03809: "WHERE CURRENT OF on a view is not implemented"

SQLSTATE: 0A000

Description: The WHERE CURRENT OF clause is used in a view.

Solution: Do not use the clause.

GAUSS-03810: "unexpected varattno %d in expression to be mapped"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.