当前位置:网站首页>PostgreSQL install GIS plug-in create extension PostGIS_ topology

PostgreSQL install GIS plug-in create extension PostGIS_ topology

2022-07-06 21:39:00 ac.char

PostgreSQL install gis plug-in unit 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

! Insert picture description here

1 error message

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 install

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

3 pgsql establish

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://yzsam.com/2022/187/202207061327018405.html