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

GAUSS-00541 -- GAUSS-00550

GAUSS-00541: "directory '%s' already in use as a tablespace"

SQLSTATE: 55006

Description: The tablespace directory to be created exists.

Solution: Define the tablespace in another directory.

GAUSS-00542: "could not remove symbolic link '%s': %m"

SQLSTATE: XX000

Description: Failed to remove sign-linking files.

Solution: Ensure that the files linked by the signs exist.

GAUSS-00543: "could not create symbolic link '%s': %m"

SQLSTATE: XX000

Description: Failed to create a sign-linking file.

Solution: Check the error code to determine the error causes, such as no permission, insufficient disk space, and existed file. Then, handle the error based on the causes.

GAUSS-00544: "tablespace '%s' does not exist"

SQLSTATE: 42704

Description: A tablespace does not exist.

Solution: Ensure that the tablespace exists in the pg_tablespace system catalog.

GAUSS-00545: "cache look up failed for tablespace %u"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-00546: "could not create tablespace directory '%s': %m"

SQLSTATE: XX000

Description: Failed to create a tablespace.

Solution: Check the error code to determine the error causes, such as no permission, insufficient disk space, and existed file. Then, handle the error based on the causes.

GAUSS-00547: "could not access directory '%s': %m"

SQLSTATE: XX000

Description: Failed to access a tablespace directory.

Solution: Check the error code to determine the error causes, such as no permission, insufficient disk space, and existed file. Then, handle the error based on the causes.

GAUSS-00548: "tblspc_redo: unknown op code %u"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-00549: "'%s' is an aggregate function"

SQLSTATE: 42809

Description: 1. Failed to delete an aggregate function using DROP FUNCTION. 2. Failed to modify an aggregate function using ALTER FUNCTION. 3. Failed to obtain the definition of an aggregate function using pg_get_functiondef.

Solution: Perform the following operations to resolve the problems: 1. Run DROP AGGREGATE to delete the aggregate function. 2. Run ALTER AGGREGATE to modify the aggregate function. 3. View the aggregate function in the pg_aggregate system catalog.

GAUSS-00550: "unexpected object type (%d)"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.