Postgres 给出类型“st_geometry”不存在

问题描述

我已经安装了 postgres(v12),并为数据库启用了 postgis 扩展。但现在我想导入一个包含 arcgis 数据的 dbbackup。数据库备份时抛出异常。

create table sde.ply
(
    objectid integer NOT NULL,shape st_geometry,constraint r48_pk primary key (objectid)
);

异常:

sql Error [42704]: ERROR: type "st_geometry" does not exist
  Position: 582

在 Ubuntu 服务器中,我已经安装了 Postgres。数据库备份来自 Postgres 9.6,我想将 arcgis 空间数据导入到安装了 postgis 扩展的 version12 的 postgres sql。如何导入备份文件?需要为 postgres 安装任何插件支持 arcgis。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)