gpt4 book ai didi

postgresql - postgres 从 10.9 升级到 11.4 失败 (aws rds)

转载 作者:行者123 更新时间:2023-12-02 03:12:12 24 4
gpt4 key购买 nike

由于以下原因导致 aws rds 失败,postgres 从 10.9 升级到 11.4

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 2.4.4 和命令

ALTER EXTENSION postgis UPDATE; 

失败并显示消息

NOTICE: version "2.4.4" of extension "postgis" is already installed

和命令

ALTER EXTENSION postgis UPDATE TO "2.5.1"

失败并显示此消息

extension "postgis" has no update path from version "2.4.4" to version "2.5.1"

最佳答案

为了升级到版本 2.5.*,您需要运行以下命令

更改扩展 postgis 更新为“2.5.2”;

关于postgresql - postgres 从 10.9 升级到 11.4 失败 (aws rds),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57270045/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com