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

GAUSS-02981 -- GAUSS-02990

GAUSS-02981: "path must be in or below the current directory"

SQLSTATE: 42501

Description: The path must be in the current path.

Solution: Change the path.

GAUSS-02982: "could not stat file '%s': %m"

SQLSTATE: XX000

Description: The file status information cannot be obtained.

Solution: Check whether the file status is abnormal, for example, the file does not exist or you do not have the file read permission.

GAUSS-02983: "requested length too large"

SQLSTATE: 22023

Description: The length of the file to be read exceeds the maximum value.

Solution: Reduce the read length to less than 1 GB.

GAUSS-02984: "could not seek in file '%s': %m"

SQLSTATE: XX000

Description: The file cannot be located based on the offset.

Solution: Check whether the file status is normal.

GAUSS-02985: "could not read file '%s': %m"

SQLSTATE: XX000

Description: A non-administrator user reads the file.

Solution: Read the file as a system administrator.

GAUSS-02986: "must be system admin to read files"

SQLSTATE: 42501

Description: The length of the file to be read cannot be negative.

Solution: Check the length of the input file.

GAUSS-02987: "requested length cannot be negative"

SQLSTATE: 22023

Description: A non-administrator user gets the file information.

Solution: Read the file as a system administrator.

GAUSS-02988: "must be system admin to get file information"

SQLSTATE: 42501

Description: A non-administrator user gets the file information.

Solution: Read the file as a system administrator.

GAUSS-02989: "must be system admin to get directory listings"

SQLSTATE: 42501

Description: The entered string is too long and exceeds 0x1fffff.

Solution: Ensure that the input string is in Unicode format.

GAUSS-02990: "requested length too large"

SQLSTATE: 54000

Description: The length of the file to be read exceeds the maximum value.

Solution: Reduce the read length to less than 1 GB.