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

GAUSS-01831 -- GAUSS-01840

GAUSS-01831: "function '%s' is not a window function"

SQLSTATE: 42809

Description: Internal system error.

Solution: Contact technical support.

GAUSS-01832: "null prosrc"

SQLSTATE: XX005

Description: An error occurs while obtaining the customized function.

Solution: Ensure that the function name is correct.

GAUSS-01833: "there is no built-in function named '%s'"

SQLSTATE: 42883

Description: No build-in function is found based on the function name provided.

Solution: Check whether the pg_proc table contains the corresponding function name.

GAUSS-01834: "null prosrc for C function %u"

SQLSTATE: XX005

Description: An error occurs while obtaining the customized C function.

Solution: Ensure that the function name is correct.

GAUSS-01835: "null probin for C function %u"

SQLSTATE: XX005

Description: An error occurs while obtaining the built-in C function.

Solution: Ensure that the function name is correct.

GAUSS-01836: "SQL functions cannot return type %s"

SQLSTATE: 42P13

Description: SQL functions cannot return format_type_be(proc->prorettype) data.

Solution: Ensure that SQL functions do not return format_type_be(proc->prorettype) data.

GAUSS-01837: "SQL functions cannot have arguments of type %s"

SQLSTATE: 42P13

Description: Types of parameters cannot be format_type_be(proc->proargtypes.values[i]).

Solution: Check the types of parameters in the SQL statements.

GAUSS-01838: "In XC, SQL functions cannot contain utility statements"

SQLSTATE: 42601

Description: SQL functions cannot contain utility statements.

Solution: Ensure that SQL functions do not contain utility statements.

GAUSS-01839: "In XC, SQL functions cannot contain view"

SQLSTATE: 42601

Description: SQL functions cannot contain views.

Solution: Ensure that SQL functions do not contain views.

GAUSS-01840: "no conversion name supplied"

SQLSTATE: XX000

Description: While the conversion is created, the conversion name is not provided.

Solution: Ensure that the conversion name is not empty.