如何在PostgreSQL 9.1中导入模块或安装扩展?
发布时间:2020-12-13 16:53:12 所属栏目:百科 来源:网络整理
导读:首先,如果你不使用9.1,请 refer to this question。 如何安装一个扩展到PostgreSQL 9.1? Postgrseql 9.1提供了一个新的命令 CREATE EXTENSION .您应该使用它来安装模块。 Modules provided in 9.1 can be found here..包括, adminpack,auth_delay,auto_e
首先,如果你不使用9.1,请
refer to this question。
如何安装一个扩展到PostgreSQL 9.1?
Postgrseql 9.1提供了一个新的命令
CREATE EXTENSION .您应该使用它来安装模块。
Modules provided in 9.1 can be found here..包括, adminpack,auth_delay,auto_explain,btree_gin,btree_gist,chkpass,citext,cube,dblink,dict_int,dict_xsyn,dummy_seclabel,earthdistance,file_fdw,fuzzystrmatch,hstore,intagg,intarray,isn,lo,ltree,oid2name,pageinspect,passwordcheck,pg_archivecleanup,pgbench,pg_buffercache,pgcrypto,pg_freespacemap,pgrowlocks,pg_standby,pg_stat_statements,pgstattuple,pg_test_fsync,pg_trgm,pg_upgrade,seg,sepgsql,spi,sslinfo,tablefunc,test_parser,tsearch2,unaccent,uuid-ossp,vacuumlo,xml2 如果例如你想安装 CREATE EXTENSION earthdistance; 如果你想安装一个带有连字符的扩展名,例如uuid-ossp,你需要用双引号括起扩展名: CREATE EXTENSION "uuid-ossp"; > Read more about contrib,and the modules available in 9.1。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |