Difference between revisions of "CREATE EXTENSION"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
  CREATE EXTENSION [[IF NOT EXISTS]] [[pg_stat_statements]] WITH [[SCHEMA]] public;
 
  CREATE EXTENSION [[IF NOT EXISTS]] [[pg_stat_statements]] WITH [[SCHEMA]] public;
  
  CREATE EXTENSION [[uuid-ossp]];
+
  [[CREATE EXTENSION uuid-ossp]];
  
 
== Related ==
 
== Related ==

Revision as of 05:55, 25 October 2022

CREATE EXTENSION [ IF NOT EXISTS ] extension_name
   [ WITH ] [ SCHEMA schema_name ]
            [ VERSION version ]
            [ CASCADE ]


CREATE EXTENSION pg_stat_statements;
CREATE EXTENSION IF NOT EXISTS pg_stat_statements WITH SCHEMA public;
CREATE EXTENSION uuid-ossp;

Related

See also

Advertising: