我在启动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.
任何人都知道如何使这些版本兼容吗?
答案 0 :(得分:1)
您有两种选择: