CREATE EXTENSION postgis_topology

时间:2021-04-09 13:16:43   收藏:0   阅读:0

1.postgresql

postgres-# ;
ERROR:  could not open extension control file "/usr/pgsql-10/share/extension/postgis_topology.control": No such file or directory
postgres=# CREATE EXTENSION postgis_topology
;
ERROR:  could not open extension control file "/usr/pgsql-10/share/extension/postgis_topology.control": No such file or directory

2. yum search postgis  ; yum install -y postgis25_10(yum install -y postgis30_10)

 

3. 安装

postgres=# CREATE EXTENSION postgis_topology
;
ERROR:  required extension "postgis" is not installed
HINT:  Use CREATE EXTENSION ... CASCADE to install required extensions too.
postgres=# CREATE EXTENSION postgis         
;
CREATE EXTENSION
postgres=# CREATE EXTENSION postgis_topology
;
CREATE EXTENSION

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!