当前位置:网站首页>PostgreSQL 安装gis插件 CREATE EXTENSION postgis_topology

PostgreSQL 安装gis插件 CREATE EXTENSION postgis_topology

2022-07-06 13:27:00 ac.char

PostgreSQL 安装gis插件 CREATE EXTENSION postgis_topology


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

!在这里插入图片描述

1 错误信息

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安装

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

3 pgsql创建

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
原网站

版权声明
本文为[ac.char]所创,转载请带上原文链接,感谢
https://blog.csdn.net/sunny_day_day/article/details/125619996