我試圖將我的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對於這種情況
任何人都找到了一個解決方案了嗎? –