Updated on 2025-03-26 GMT+08:00

GAUSS-00491 -- GAUSS-00500

GAUSS-00491: "return type must be a row type"

SQLSTATE: XX000

Description: The tuple descriptor constructed is not a row result message.

Solution: Query again. If the error persists, contact technical support.

GAUSS-00492: "attribute count of the return row type not matched"

SQLSTATE: XX000

Description: Internal system error.

Solution:contact technical support

GAUSS-00493: "permission denied to query audit"

SQLSTATE: 42501

Description: Internal system error.

Solution:contact technical support

GAUSS-00494: "permission denied to delete audit"

SQLSTATE: 42501

Description: Internal system error.

Solution:contact technical support

GAUSS-00495: "conflicting or redundant options"

SQLSTATE: 42601

Description: Internal system error.

Solution:contact technical support

GAUSS-00496: "option '%s' not recognized"

SQLSTATE: XX000

Description: The value of an option for COPY cannot be recognized.

Solution: Ensure that the value of this option for COPY is correct.

GAUSS-00497: "%d is not a valid encoding code"

SQLSTATE: 42704

Description: The specified code identifier is not used when a string is converted into ASCII code.

Solution: Make sure the specified code identifier number is less than 42 when converting a character string to ASCII code.

GAUSS-00498: "%s is not a valid encoding name"

SQLSTATE: 42704

Description: An invalid character encoding name is used when a string is converted into ASCII code.

Solution: When you convert a character string into ASCII code, ensure that the code identifier is valid.

GAUSS-00499: "invalid connection limit: %d"

SQLSTATE: 22023

Description: In the CREATE DATABASE...CONNECTION LIMIT syntax, when the specified minimum number of concurrent connections is less than –1, the value is invalid.

Solution: In the CREATE DATABASE...CONNECTION LIMIT syntax, ensure that the number of concurrent connections acceptable to the database is greater than or equal to –1.

GAUSS-00500: "permission denied to create database"

SQLSTATE: 42501

Description: This user does not have permission to create a database.

Solution: Only users with the CREATEDB permission or the system administrator are allowed to create databases. Make sure that this user has the necessary permission.