6

尝试使用在另一台 mac 机器中创建的数据启动 postgres 时出现以下错误。致命:控制文件中的校验和不正确

postgres 版本是 9.1.3,在雪豹中初始化的数据在 Lion 中不起作用,反之亦然。对于 postgres v9.0.1,我没有遇到这个问题。postgres 9.1.3 中是否有任何配置可以解决此问题?

4

1 回答 1

7

You can't move between systems with different operating systems. The compiled versions may have different alignment etc. Do a dump on the old and a restore on the new.

于 2013-04-01T10:05:35.383 回答