ALTER EXTENSION
7
SQL - Language Statements
ALTER EXTENSION
change the definition of an extension
ALTER EXTENSION
ALTER EXTENSION name SET SCHEMA new_schema
Description
ALTER EXTENSION changes the definition of an existing extension.
Currently there is only one subform:
SET SCHEMA
This form moves the extension's objects into another schema. The
extension has to be relocatable> for this command to
succeed. See for details.
Parameters
name
The name of an installed extension.
new_schema
The new schema for the extension.
Examples
To change the schema of the extension hstore
to utils:
ALTER EXTENSION hstore SET SCHEMA utils;
See Also