如何在托管postgresql中安装postgis

fafcakar  于 5个月前  发布在  PostgreSQL
关注(0)|答案(1)|浏览(66)

我有一个在oci托管postgresql,我想安装扩展(postgis)
我只是通过psql访问主目录

`postgres-> \dx
                 List of installed extensions
  Name   | Version |   Schema   |         Description          
---------+---------+------------+------------------------------
 plpgsql | 1.0     | pg_catalog | PL/pgSQL procedural language
(1 row)`

字符串
所有扩展名的列表..
我尝试这个命令:

postgres=> CREATE EXTENSION IF NOT EXISTS postgis;


然后给予我这个错误

ERROR:  could not open extension control file "/usr/lib/postgresql/share/extension/postgis.control": No such file or directory


还有别的办法吗?
谢谢你

sgtfey8w

sgtfey8w1#

不幸的是,PostGIS不在extensions supported by OCI的列表中。AWS RDS has it,Azure has it,Google Cloud SQL确实有它,Oracle没有。

相关问题