【发布时间】:2019-12-07 18:58:52
【问题描述】:
几年前我使用 Postgres.app 安装了 PostgresSQL(9.4 版),但从现在开始我想使用 Homebrew 来管理 PostgreSQL。我在 Mac OS 10.14 上。我已经使用 Homebrew 安装了最新版本(12.1),我想知道如何将我的数据移动到这个新版本。我读过的所有更新指南都假定新旧版本安装在同一位置。
数据目录:
/Users/robin/Library/Application Support/Postgres/var-9.4
/usr/local/Cellar/postgresql/12.1
【问题讨论】:
标签: postgresql homebrew upgrade