我试图将我的RDS实例从9.5.4升级到9.6.1,并且由于需要首先升级的PostGIS版本的错误而被阻止。由PostGIS版本阻止的Amazon RDS上的PostgreSQL升级
Database instance is in a state that cannot be upgraded: PreUpgrade checks failed: The instance could not be upgraded because there are one or more databases with an older version of PostGIS installed. Please upgrade all installations of PostGIS and try again.
PostGIS的由RDS 9.5.4支持的最高版本是2.2.2
alter extension postgis update
产量
NOTICE: version "2.2.2" of extension "postgis" is already installed
我试着在9.6.1
明确升级到版本alter extension postgis update to '2.3.0'
获取
[Err] ERROR: extension "postgis" has no update path from version "2.2.2" to version "2.3.0"
所以我的问题是:我该如何升级?我怀疑我可以在升级之前删除扩展,然后安装新版本,但我不知道这会对我的数据产生什么影响,或者是否可以正确升级我的空间结构或功能。
我已经检查了documentation对于这种情况
任何人都找到了一个解决方案了吗? –