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

GAUSS-01511 -- GAUSS-01520

GAUSS-01511: "nested ALTER EXTENSION is not supported"

SQLSTATE: 0A000

Description: The statement ALTER EXTENSION UPDATE is executed for multiple times within a transaction.

Solution: Execute the statement ALTER EXTENSION UPDATE only once within a transaction.

GAUSS-01513: "%s is already a member of extension '%s'"

SQLSTATE: 55000

Description: During ALTER EXTENSION ADD execution, the object to be added is already a member of the EXTENSION. During CREATE EXTENSION execution, a specific object created in the EXTENSION SQL script is already a member of other EXTENSIONs. "

Solution: During ALTER EXTENSION ADD execution, ensure that the object to be added is not a member of the EXTENSION. During CREATE EXTENSION execution, ensure that all objects created in the EXTENSION SQL script are not members of other EXTENSIONs. "

GAUSS-01514: "cannot add schema '%s' to extension '%s' because the schema contains the extension"

SQLSTATE: 55000

Description: During ALTER EXTENSION ADD execution, the schema to be added is the one that contains the EXTENSION.

Solution: During ALTER EXTENSION ADD execution, ensure that the schema to be added does not contain the EXTENSION.

GAUSS-01515: "%s is not a member of extension '%s'"

SQLSTATE: 55000

Description: During ALTER EXTENSION DROP execution, the object to be deleted is not a member of the EXTENSION.

Solution: During ALTER EXTENSION DROP execution, ensure that the object to be deleted is a member of the EXTENSION.

GAUSS-01517: "cache lookup failed for extension %u"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-01518: "no security label providers have been loaded"

SQLSTATE: 22023

Description: During SECURITY LABEL statement execution, no SECURITY LABEL extension is loaded.

Solution: Before executing the SECURITY LABEL statement, load corresponding SECURITY LABEL extension.

GAUSS-01519: "must specify provider when multiple security label providers have been loaded"

SQLSTATE: 22023

Description: During SECURITY LABEL statement execution, no SECURITY LABEL is loaded.

Solution: During SECURITY LABEL statement execution, ensure that the SECURTY LABEL is specified.

GAUSS-01520: "security label provider '%s' is not loaded"

SQLSTATE: 22023

Description: During SECURITY LABEL statement execution, the specified SECURITY LABEL is not loaded.

Solution: During SECURITY LABEL statement execution, load the specified SECURITY LABEL.