【发布时间】:2016-08-15 14:22:11
【问题描述】:
我有一个来自 PostgreSQL 9.1 + PostGIS 1.5.3 的 PostGIS 数据库的数据库转储,我正在尝试在使用 PostgreSQL 9.5 + PostGIS 2.2.1 的系统上恢复它。
创建新数据库后,我将其放入 PostGIS 数据库:
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;
但是,在恢复到这个新数据库时,我收到以下错误(以及许多其他错误):
ERROR: function ndims(geometry) does not exist
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
我可以做些什么来导入旧的数据库转储?
【问题讨论】:
标签: postgresql postgis