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

GAUSS-00981 -- GAUSS-00990

GAUSS-00981: "unrecognized CoercionContext: %d"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-00982: "cast from type %s to type %s already exists"

SQLSTATE: 42710

Description: The CAST function used for converting data from the source data type to the target data type already exists.

Solution: Do not create the CAST function again.

GAUSS-00983: "cast from type %s to type %s does not exist"

SQLSTATE: 42704

Description: The CAST function used for converting data from the source data type to the target data type does not exist.

Solution: Check the pg_cast system catalog to see whether the CAST function exists. If it does not exist, create it or rewrite the SQL statement to avoid using it.

GAUSS-00984: "could not find tuple for cast %u"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-00985: "function '%s' already exists in schema '%s'"

SQLSTATE: 42723

Description: The function in the target schema already exists.

Solution: Ensure that no function with the same name has been created in the target schema.

GAUSS-00986: "failed to change schema dependency for function '%s'"

SQLSTATE: XX000

Description: Failed to change the schema dependency of the function.

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

GAUSS-00987: "no inline code specified"

SQLSTATE: 42601

Description: Inline statements are not specified in anonymous blocks.

Solution: Check the syntax of the anonymous block to ensure that it contains inline statements.

GAUSS-00988: "language '%s' does not support inline code execution"

SQLSTATE: 0A000

Description: Inline code cannot be executed for this language.

Solution: Use a common function or another language.

GAUSS-00989: "source encoding '%s' does not exist"

SQLSTATE: 42704

Description: The source encoding does not exist.

Solution: Ensure that the source encoding exists in the system.

GAUSS-00990: "destination encoding '%s' does not exist"

SQLSTATE: 42704

Description: The target encoding does not exist.

Solution: Ensure that the target encoding exists in the system.