4

我无法启动 postgres,如下所示:

$ pg_ctl -D /usr/local/var/postgres start
server starting
FATAL:  database files are incompatible with server
DETAIL:  The data directory was initialized by PostgreSQL version 9.1, which is not compatible with this version 9.3.0.

有人知道如何使版本兼容吗?

4

1 回答 1

1

你有两个选择:

  1. 运行 9.1 版本,转储数据库并使用 9.3 恢复它
  2. http://www.postgresql.org/docs/9.3/static/pgupgrade.html
于 2013-09-29T10:43:33.753 回答