buz*_*791 12 postgresql installation upgrade postgresql-9.3
使用 Enterprise DB 构建的 Windows 安装程序从 PostgreSQL(例如 9.3.0 到 9.3.1)执行小升级的推荐方法是什么?我应该先卸载还是在现有安装上安装?
当前安装是使用 postgresql-9.3.0-1-windows-x64.exe 执行的。现在我想使用 postgresql-9.3.1-1-windows-x64.exe 进行升级。
在 Windows 上,只需停止 postgresql 服务,然后在现有 9.3.0 工作的基础上运行 postgresql-9.3.1-1-windows-x64.exe。无需卸载。当然,建议备份。
没有关于 Windows 更新过程的清晰、明确的文档。请注意,@dezso 提供的文档链接已在当前手册中移至:https ://www.postgresql.org/docs/current/static/upgrading.html
PostgreSQL 发行说明通常在附录 E 中记录迁移技巧。例如,
Windows 安装程序信息的最佳来源是 Enterprise DB 论坛。这是我发现的一些帖子,解决了这个问题......
请注意,升级信息会从一个版本移动到另一个版本。例如,
请注意,截至 2017 年 6 月,EnterpriseDB 替换了影响此答案中链接的社区论坛(https://web.archive.org/web/20171021012954/https://www.enterprisedb.com/news/enterprisedb-announces- new-postgres-rocks-online-user-forum)。我能够在 Wayback Machine 上找到一些原始帖子。我无法修复的一个死链接是:“2010 年 1 月 - 从 8.4.1 升级到 8.4.2”, http://forums.enterprisedb.com/posts/list/2115.page#7888。
作为记录,从 Enterprise DB 运行 Windows 安装程序(默认,从 Postgres 站点链接),至少从当前版本 Postgres 9.4 开始,您不必停止该postgresql服务。安装程序会为您执行此操作。您仍然需要重新建立连接(如果有)(大多数客户端会自动执行此操作)。
最好参考当前手册(使用当前版本的 Postgres):
http://www.postgresql.org/docs/current/interactive/upgrading.html
| 归档时间: |
|
| 查看次数: |
12689 次 |
| 最近记录: |