PostgreSQL · Command
CREATE EXTENSION
CREATE EXTENSION installs an extension in the current database. It runs the extension script, records its objects, and can place them in a chosen schema.
Last updated
Syntax
CREATE EXTENSION [ IF NOT EXISTS ] extension_name [ WITH ] [ SCHEMA schema_name ] [ VERSION version ] [ CASCADE ]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
DROP EXTENSIONALTER EXTENSIONpg_available_extensionspg_available_extension_versionsCREATE SCHEMA