Updated on 2024-03-15 GMT+08:00

GAUSS-01041 -- GAUSS-01050

GAUSS-01041: "constraint '%s' for domain '%s' already exists"

SQLSTATE: 42710

Description: The syntax is in the blacklist.

Solution: The syntax is in the blacklist.

GAUSS-01042: "cannot use table references in domain check constraint"

SQLSTATE: 42P10

Description: The syntax is in the blacklist.

Solution: The syntax is in the blacklist.

GAUSS-01043: "cannot use subquery in check constraint"

SQLSTATE: 0A000

Description: The syntax is in the blacklist.

Solution: The syntax is in the blacklist.

GAUSS-01044: "cannot use aggregate function in check constraint"

SQLSTATE: 42803

Description: The syntax is in the blacklist.

Solution: The syntax is in the blacklist.

GAUSS-01045: "cannot use window function in check constraint"

SQLSTATE: 42P20

Description: The syntax is in the blacklist.

Solution: The syntax is in the blacklist.

GAUSS-01046: "domain '%s' constraint '%s' has NULL conbin"

SQLSTATE: XX000

Description: The constraint attribute is null.

Solution: The system catalog is abnormal. Contact technical support.

GAUSS-01047: "'%s' is not a domain"

SQLSTATE: 42809

Description: The object is not a type.

Solution: Ensure that the object to be processed is a type.

GAUSS-01048: "%s is a table's row type"

SQLSTATE: 42809

Description: This object is a row type of a table and cannot use the ALTER TYPE syntax.

Solution: Use the ALTER TABLE syntax to replace the ALTER TYPE syntax.

GAUSS-01049: "cannot alter array type %s"

SQLSTATE: 42809

Description: The array type cannot be altered.

Solution: The current operation can alter the array element type and automatically alter the array type.

GAUSS-01050: "type '%s' already exists in schema '%s'"

SQLSTATE: 42710

Description: The type already exists in the schema.

Solution: Check whether the type already exists in the schema.