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

GAUSS-04611 -- GAUSS-04620

GAUSS-04611: "Failed to remove directory '%s', because it is not an empty directory."

SQLSTATE: XX000

Description: The deleted tablespace directory file is not empty, and the tablespace fails to be deleted.

Solution: Manually check this directory and find the existing file. If the file is an HDFS table file, delete the HDFS table in the database. If the file is manually created externally and not used, delete it, and delete the tablespace again.

GAUSS-04612: "Failed to remove external directory '%s'."

SQLSTATE: XX000

Description: The deleted tablespace directory file is not empty, and the tablespace fails to be deleted.

Solution: Manually check this directory and find the existing file. If the file is an HDFS table file, delete the HDFS table in the database. If the file is manually created externally and not used, delete it, and delete the tablespace again.

GAUSS-04613: "It is unsupported to alter tablespace option '%s' for DFS tablespace."

SQLSTATE: XX000

Description: An error is reported because the HDFS table does not support the ALTER operation.

Solution: Do not use the ALTER operation in the HDFS table.

GAUSS-04614: "Tablespace '%d' does not exist."

SQLSTATE: XX000

Description: The tablespace does not exist.

Solution: Create a tablespace.

GAUSS-04615: "cache lookup failed for tablespace %u."

SQLSTATE: XX000

Description: The buffer information in the tablespace cannot be found in the system cache.

Solution: The cache of the pg_tablespace system catalog is abnormal. Contact technical support.

GAUSS-04616: "Resource Pool '%s': object not defined."

SQLSTATE: 42704

Description: The resource pool is not defined.

Solution: Define the resource pool.

GAUSS-04617: "resource pool must be '%s' if the role cannot login."

SQLSTATE: 22023

Description: The default resource pool must be used. Otherwise, users cannot log in.

Solution: Set default_pool to enable the default resource pool.

GAUSS-04618: "Resource pool must be '%s' if user cannot login."

SQLSTATE: 42501

Description: The default resource pool must be used. Otherwise, users cannot log in.

Solution: Set default_pool to enable the default resource pool.

GAUSS-04619: "Password can't contain more than %d characters."

SQLSTATE: 28P01

Description: The account password cannot contain over %d characters.

Solution: Change the password format to ensure that the number of characters does not exceed %d.

GAUSS-04620: "invalid GDS command: %d"

SQLSTATE: XX000

Description: Invalid GDS interaction is received.

Solution: Check whether invalid data exists in the imported file of GDS foreign tables, clean the file, and import it again.