Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Before dropping extensions in an Azure HorizonDB cluster, add them to the allow list.
Steps to drop extensions
The user that drops the extensions must be a member of the
azure_pg_adminrole.Run the DROP EXTENSION command to drop or uninstall a particular extension. This command removes the objects packaged in the extension from your database.
DROP EXTENSION <extension>;Some extensions might distribute objects required by other extensions. For example,
pg_diskanndepends onvectorextension. To drop such extensions, you can proceed in two ways:- First, add the dependent extensions to the allow list and run
DROP EXTENSIONon them. Then, add the extension they depend on to the allow list and runDROP EXTENSIONon it.
DROP EXTENSION <dependent_extension>; DROP EXTENSION <depending_extension>;- Allow extensions in Azure HorizonDB and run
DROP EXTENSIONon the extension that you want to drop. AddCASCADEto also drop objects that depend on the extension, including other extensions. Review those dependencies and recovery options before using it.
DROP EXTENSION <depending_extension> CASCADE;- First, add the dependent extensions to the allow list and run