Updated on 2025-10-11 GMT+08:00

GAUSS-01511 -- GAUSS-01520

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

SQLSTATE: 0A000

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

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

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

SQLSTATE: 55000

Description: The object you are adding already belongs to this extension or another one.

Solution: Before adding an object to an extension with ALTER EXTENSION ADD, confirm the object is not already part of that extension. Similarly, when creating or extending an extension with CREATE EXTENSION or EXTENSION, verify the object does not belong to another extension.

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 specified.

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.